Ref functions on main timeline within MC


does 1 know of way can call function thats set on main timeline using in movie clip thats child of timeline?

 

ie:

 

i have function called setname(); on main timeline.... have movieclip called contact_mc , need add eventlisteners within contact_mc how call setname(); function thats in parent timeline... advise can offer apperciated!

try:

 

movieclip(this.parent).setname();

 

to reference movieclip.  i'm not sure events want trigger function call.



More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

Flip address is out of range arduino uno r3

Arduino Uno not uploading

Indesign and MathType fonts