A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: main timeline control from a movie clip

  1. #1
    Senior Member JFlashK's Avatar
    Join Date
    Dec 2000
    Posts
    618
    we got a problem, we want to jump to specific keyframe in the main timeline from a button in a movieclip. Please tell us how?

  2. #2
    Member
    Join Date
    Sep 2001
    Location
    Málaga, Spain
    Posts
    98
    on (release) {
    _root.gotoAndStop("framelabel");
    }

    OR
    on (release) {
    _root.gotoAndStop(framenumber);
    }

  3. #3
    Senior Member JFlashK's Avatar
    Join Date
    Dec 2000
    Posts
    618
    Originally posted by marinacb
    on (release) {
    _root.gotoAndStop("framelabel");
    }

    OR
    on (release) {
    _root.gotoAndStop(framenumber);
    }
    when I use this code we go to scene 1 while the MC is in scene 2 and I have to go to a frame in scene 2

  4. #4
    Member
    Join Date
    Sep 2001
    Location
    Málaga, Spain
    Posts
    98
    ok, then u have to use the code referring to the framelabel name

    just put a label name to the frame in whatever scene u want to go and tell the movie to go to that frame. it works!

    on (release) {
    _root.gotoAndStop("frame_label_name");
    }

  5. #5
    Senior Member JFlashK's Avatar
    Join Date
    Dec 2000
    Posts
    618
    it works! thank you

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