Tuesday, 19 January 2010

Access root method in as3

 
If you ever want to access a root method from within any movieclip (a horrible but standard practice in AS2) use the following:
MovieClip(this.root).[method name]();
 

No comments:

Post a Comment