Hi and Thanks Al
I was using rect(sprite) but it failed to work. I was getting
only one dimension to scale and not the other. I guess the
problem is that this is dynically updated and the width and height are 
automatically
entered into fields. I only have 2 dimensions to work with as well.
So I need to do this accordingly with 2 dimensions.
According to the error - it seems lingo can only deal with one dimension at 
a time
That is why I was asking what that error message was signalling.
That is what I couldn't figure out OR read about.

Respectfully
Dave


>From: "David Pexton" <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: <lingo-l> New Error On Script for Scaling Graphic
>Date: Sat, 14 Apr 2001 14:26:43 -0400
>
>Hello
>I am using this script to change the screen scale of certain bitmaps.
>I get an error which says:
>
>One parameter expected
>wide=sprite(1,"pictures").width
>I am using this to change the scale of the screen graphic to
>70% of its size
>
>
>on changeScale
>  wide=sprite(1,"pictures").width
>  high=sprite(1,"pictures").height
>
>  newWide=wide*.7
>  newHigh=high*.7
>
>  sprite(1,"pictures").width=newWide
>  sprite(1,"pictures").height=newHigh
>
>  updateStage
>end
>
>
>I would appreciate help to solve this.
>I will need to have a way to scale some of my bitmaps.
>
>Thanks
>Dave
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
>email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming Lingo.  Thanks!]
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to