Hi, Morgan.. you just landed in the middle of a simililar thread. I would say
that if you know in which sprite and member is your handler, use CALL instead of
sendAllSprites. The second has no reason to be in this case (IMO) but it would
work too.

Agust�n.

PS: the scope or reach of the property variable is the script (behavior) itself
and between all of its handlers.


Morgan Bonar wrote:

> Hey list,
>
> Anyone know how to (or if its possible) to share properties between multiple
> behaviors on the same sprite? Just declaring the same properties in the
> scripts doesnt seem to work.
> The best i could get was to use a sendSprite(sprite(me.spriteNum),
> #setProperty), and register the property in the additional behaviors.
> Any ideas of "cleaner" ways of doing this?!?!
>
> Morgan Bonar
> Chief Creative Officer
> p.  858.569.3400 ext.15
> f.  858.569.3410
> [EMAIL PROTECTED]
> http://www.webcardinc.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!]


[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