Skip to main content
Inspiring
April 12, 2013
Answered

how to go to next frame in a movie clip inside another movie clip

  • April 12, 2013
  • 1 reply
  • 785 views

I have a master movie clip that my entire webpage is in, called masterMC.  If I double click it, I have another movie clip called transitionMC.  I want advance the timeline within masterMC when transitionMC completes playing, but not at the root level.  I want to advance the MasterMC timeline, not the root.  How do I go about doing this?

This topic has been closed for replies.
Correct answer EverestJ

This is what I had before:

stop();

if(MovieClip(root).currentFrame<MovieClip(root).totalFrames){

MovieClip(root).nextFrame();

}

i replaced (root) with parent.  it worked well.  Thanks!

1 reply

kglad
Community Expert
Community Expert
April 12, 2013

on the last frame of transitionMC:

this.parent.nextFrame();

EverestJAuthorCorrect answer
Inspiring
April 12, 2013

This is what I had before:

stop();

if(MovieClip(root).currentFrame<MovieClip(root).totalFrames){

MovieClip(root).nextFrame();

}

i replaced (root) with parent.  it worked well.  Thanks!

kglad
Community Expert
Community Expert
April 12, 2013

you're welcome.