> 1. Is there any way to put an instance of a cast member via Lingo ?
> and does
> the instance behave like an inheritence object in OOP where the
> button could
> have multiple text/value on each instance. i try using
> sprite(x).member.text .. but all the instance also change....

for standard director buttons: no (but you can create new members on the
fly with lingo)
for flashComponent buttons in dmx 2004: yes
for imported flash-buttons (swfs): yes
you might also create your own buttons with imaging lingo (e.g. in a
parent script)

> 2. Is there any way to attach behavior(script) in the instance via
> lingo (on-the-fly) ?

yes: check out "scriptInstanceList" in director help.

valentin

[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