reference symbols on the main timeline

Posted by vasion on Stack Overflow See other posts from Stack Overflow or by vasion
Published on 2010-04-08T10:52:02Z Indexed on 2010/04/08 11:13 UTC
Read the original article Hit count: 300

Filed under:
|

this is one of those upsurdly basic questions for which google does not work. I have usually dispatched events from my classes and dealt with the user interface in the document class. But now i want to separate all the UI in a separate class, accessible by other classes.

I have added it as a child to the main/document class, but how do i reference the main class without going through parent.parent shananigans?

edit. one more thing i remembered. Some of my UI elements are not programatically added.

© Stack Overflow or respective owner

Related posts about flash

Related posts about actionscript-3