问题
I want to get information of an object from a previous keyframe. _root. works only for objects on the same keyframe as the code right?
回答1:
Your object doesn't exist one you leave the keyframe that created it, unless the object was added with ActionScript. You'll have the place the object on its own layer and extend the keyframe to reach the point where you're trying to access it, or as mentioned create it with ActionScript.
来源:https://stackoverflow.com/questions/8934346/how-to-refer-to-object-from-other-keyframe