Today I’ve been coding with as3 and need to know about a DisplayObject is added to stage or not. Here is a simple way to know that;
myMC = new MovieClip(); trace(this.contains(myMC)); //output: false addChild(myMC); trace(this.contains(myMC)); //output: true