Reputation: 2285
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?
Upvotes: 0
Views: 92
Reputation: 4432
root is the timeline, so MovieClip(root).someObj would do it. This should be pretty trivial to test for yourself :)
Upvotes: 1