Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Access main timeline from movieclip

Engaged ,
Jan 17, 2013 Jan 17, 2013

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.

TOPICS
ActionScript
1.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Guru , Jan 17, 2013 Jan 17, 2013

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

Translate
Guru ,
Jan 17, 2013 Jan 17, 2013

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jan 17, 2013 Jan 17, 2013
LATEST

Thanks I knew it has something to do with root but I kept tryin root.gotoAndPlay("framelabel").

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines