I am trying to add an object to my main stage via the addChild()
method. Normally, when working within the FLA itself, using addChild(myObject)
works just fine. However, it does not work within an external AS class.
All of the other tutorials I have found showed me how to do something like this, which is not what I need:
var myMovieClip:MovieClip = new MovieClip();
myMovieClip.addChild(myObject); // Works great, but not what I need
Could someone please show me how to add an object to my main stage via an external AS class.
Thank you for your time.