Copy link to clipboard
Copied
I want the to have a command on the end frame of a move clip to gotoAndPlay the second frame on the main time line. How can I do that?
I tried it as gotAndPlay (2), I added Scene 1, and that didn't work. I even put a frame label on it and it doesn't recognize the frame label.
Delete the additional scene, as it only complicates the matter.
At the end of your nested MovieClip write:
MovieClip(root).gotoAndPlay(2)
or
MovieClip(root).gotoAndPlay("framelabel")
//substitute framelabel with the actual label you put on the frame
Copy link to clipboard
Copied
Delete the additional scene, as it only complicates the matter.
At the end of your nested MovieClip write:
MovieClip(root).gotoAndPlay(2)
or
MovieClip(root).gotoAndPlay("framelabel")
//substitute framelabel with the actual label you put on the frame
Copy link to clipboard
Copied
Thanks I knew it has something to do with root but I kept tryin root.gotoAndPlay("framelabel").
Find more inspiration, events, and resources on the new Adobe Community
Explore Now