I have an object created visually. How should I refer to it from classes of other objects? MovieClip(this.root).someObj or stage.someObj or MovieClip(this.root).stage.someObj? And moreover, if I want to see which frame is current on the main timeline, why I cannot just check stage.currentFrame? Why there is no such property of the stage, currentFrame? It has timeline, right?
I have an object created visually. How should I refer to it from classes
Share
root is the timeline, so MovieClip(root).someObj would do it. This should be pretty trivial to test for yourself 🙂