Rajiv,

You can access the scriptInstanceList of a frame the same way that you
access it for a sprite.  It's reference is sprite 0.  So, you can do
something like:

sprite(0).scriptInstanceList.add(script("MyBehavior").new())

HTH

Brian Romanko
Lead Developer - Neo/SCI Corporation
Member - Greater Rochester Macromedia User Group



-----Original Message-----
Hi list ,

is there anyway in lingo assign a frame script at runtime.

thanx in advance
rajiv


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/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