A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: timeline navigation..???

  1. #1
    Hey folks!

    I'm having some problems which are kind of driving me crazy cause it seems like i've tried everything, so i'm hoping you guys can help.
    My problem is targeting my main timeline from within a movie clip. Now i know how this works generally from within the main scene. the problem begins when i target the main timeline from my movie clip in scene 4, and i need it to go to and play scene 4, frame 2. here's how my script looks:
    tellTarget ("_root.") {
    gotoAndPlay ("Scene 4", 2);
    }
    this action is located in a movie clip in scene 4 frame 1, but everytime i publish it, it goes back and plays scene 1 from the beginning.
    I need to find the answer to this soon, so i can continue on and finish this project.
    Thanks for your help and time in advance! anxiously waiting a reply...
    ekonnn

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Posts
    2,235
    put a label on the frame you want to go to and then;

    _root.gotoAndPlay("labelname");

    ~mgb

  3. #3
    wicked, that worked! thanks tons

  4. #4
    Senior Member
    Join Date
    Aug 2000
    Posts
    2,235
    Yes, you need a label when targeting from movie clip to _root.

    ~mgb

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