Actionscript 3 Class Architecture
Posted on 2008-11-13
I am writing an as3 program where i have a class called Main, which is the document class. Within this class i have created an Object of another class 'XYZ' .
What method should i adopt to access the movieclips etc on stage (which are children of Main class, since it is document class) from inside of XYZ class?
Also when i want to add something to the stage using addChild in XYZ class, how do i do it ?