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

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

Participant ,
Apr 12, 2013 Apr 12, 2013

Copy link to clipboard

Copied

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?

TOPICS
ActionScript

Views

603

Translate

Translate

Report

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

Participant , Apr 12, 2013 Apr 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!

Votes

Translate

Translate
Community Expert ,
Apr 12, 2013 Apr 12, 2013

Copy link to clipboard

Copied

on the last frame of transitionMC:

this.parent.nextFrame();

Votes

Translate

Translate

Report

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
Participant ,
Apr 12, 2013 Apr 12, 2013

Copy link to clipboard

Copied

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!

Votes

Translate

Translate

Report

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
Community Expert ,
Apr 12, 2013 Apr 12, 2013

Copy link to clipboard

Copied

LATEST

you're welcome.

Votes

Translate

Translate

Report

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