Bill Numerick wrote:
> ...
> How can i set properties of a dynamically attached script to a sprite?
sendsprite(spritenum, #setBehaviour1Props, argument1, argument2)
in the behaviour:
on setBehaviour1Props me, arg1, arg2
property1 = arg1
property2 = arg2
end
If you have multiple behaviours on a sprite whose props need to be set
later, be sure the 'setProps' handlers all have different names. There
are scarier ways of doing it, but I don't recommend them.
--
Carl West [EMAIL PROTECTED]
617.262.8830 x246
I have no superfluous leisure; my stay must be
stolen out of other affairs; but I will attend you awhile.
- Isabella, Measure for Measure, Act 3 Scene 1
[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!]