Hi :)

I've been struggling with this simple thing... I have set up a handler that
issues a SendSprite command:

on mouseUp
  sendSprite (sprite(1), #ChangePercentage, CurrentPercentage)
end

CurrentPercentage is an integer already defined. Now the problem is that on
Sprite(1) I have a ChangePercentage handler that's supposed to take
"CurrentPercentage" as an argument... I haven't been able to receive the
actual integer, all I get is "<offspring "" 3 212b00>" or similar... The
script I have on sprite (1) is:

on ChangePercentage CurrentPercentage
  sprite(1).width=CurrentPercentage
end

I guess what I'm asking is what's the correct syntax for the handler that
receives the sendsprite command and how do I access the arguments sent? I
have read the manual and all it says is how the sendsprite syntax is but not
how the receiving handlers' should be.

Thanks

Jorge


[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