You could use parent/child scripting, you could store it in a global
variable
or you could use the sprite's scriptInstanceList

----- Original Message -----
From: "Morgan Bonar" <[EMAIL PROTECTED]>
To: "Lingo-L@Penworks. Com" <[EMAIL PROTECTED]>
Sent: Wednesday, October 31, 2001 11:36 AM
Subject: <lingo-l> properties between behaviors


> 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