David,

You are getting this specific error message because the keyword 
"sprite" only takes one parameter - the spriteNumber.  The question 
is, what are you trying to say when you keep referencing:

   sprite(1, "pictures")   ???

   sprite(1)    refers to whatever cast member is in channel 1 in the score.

Irv

At 2:26 PM -0400 4/14/01, David Pexton wrote:
>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
>

-- 

Lingo / Director / Shockwave development for all occasions.

   (Home-made Lingo cooked up fresh every day just for you.)

[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