A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Controlling root timeline with movieClip

  1. #1
    Junior Member
    Join Date
    Nov 2002
    Location
    Tempe, AZ USA
    Posts
    10

    Controlling root timeline with movieClip

    I load an external movieClip into a blank movieClip and then I also have a stop on the root timeline. After the loaded movieClip is finished playing I want to move to the next frame on the root timeline.

    I've tried _root.play(); and play(); on the last frame of my loaded movieClip but the root timeline wont advance.

    I've also tried _root.gotoAndPlay as well as gotoAndPlay.

    Can anyone direct me to a tutorial that explains controlling the root timeline with ActionScript from within a loaded movieClip?

    I have no trouble using a loaded movieClip to load other movieClips on to the root timeline but I can't get it to stop and go. HELP!!!
    Robert WIlson

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    I load an external movieClip into a blank movieClip...

    First, you're not loading a movie clip, but an external .swf...

    That said, _root.play(); or _level0.play(); should work! If you only want to move the main timeline by one frame, you could even use _level0.nextFrame(); also...

    If it still doesn't work... You've got something else wrong, and should attach your .fla, zipped up and in a MX only format, not MX2004.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center