>sendSprite(3, #checkRight, 15)
>
>And then on another behavior on sprite 3 I write:
>
>on checkRight whatNumber
>     put whatNumber
>end
>
>This is what I get in the message window!
>
>-- <offspring "findSound" 4 125c4b8>

Change your handler to:

on checkRight me whatNumber

Think about it--you're sending three parameters with sendSprite. The first 
is the sprite you're targeting. That "me" is the sprite's instance reference.

Cordially,

Kerry Thompson


[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