A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: _root.gotoandplay

  1. #1
    in scene1->movie1->movie2 i have a button, that button has following action:

    on (release) {
    _root.gotoAndPlay("scene2", 1);
    }

    by "on release", should go to scene2, but it plays scene1 again, what its wrong

    please help me

  2. #2
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    Use this:

    Target root timeline

    on (release) {
    _root.gotoAndPlay("yourframelabelgoeshere");
    }

  3. #3
    Junior Member
    Join Date
    Jun 2010
    Posts
    3
    i've done exactly this from a button in scene1->movie1->movie2 but it goes to frame 34 instead of 25 (25 is the frame i have labelled "Photos") why does it go to a different frame?

  4. #4
    Junior Member
    Join Date
    Jun 2010
    Posts
    3
    it also does this when i direct to frame 25

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