A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: someone help before i trash my pc!^%$^%!$^%!

  1. #1
    Junior Member
    Join Date
    Jun 2001
    Posts
    3
    Okay, I have a scene ok? And in this scene I have 3 frames, the first and second loop. in this loop i have a MC, this movie plays when the space bar is pressed, and at the very end of the MC, i put an action. Now heres where my trouble begins. I want this action to tell the scene that the MC is in to go to the first frame and play. Here are the possibilites that everyone has tryed including me:

    gotoAndPlay(1);
    _root.gotoAndPlay(1);
    gotoAndPlay("Level 1 Game", 1);
    _root.gotoAndPlay("Level 1 Game", 1);

    nothing works. the MC is called to just fine, and everything else works, it just DOES NOT go to the first frame. please help, ty

  2. #2
    Senior Member
    Join Date
    Nov 2000
    Location
    Jerusalem, Isreal
    Posts
    254
    ok... try this:
    _parent.gotoAndStop(1);

    maybe it'll work that way.

  3. #3
    Senior Member
    Join Date
    May 2001
    Posts
    180
    Yeah, there seems to be a problem going between scenes from a movie clip. Instead, just use labels at your goto points and call them in your 'gotoAndPlay' actions, without using any scene names.

  4. #4
    Senior Member
    Join Date
    May 2001
    Posts
    1,838
    gotoAndPlay(1);== MC.gotoAndPlay(1) Not what you want;
    _root.gotoAndPlay(1);== play main timeline "Secen 1" frame 1;
    gotoAndPlay("Level 1 Game",1);==Make MC gotoAndPlay("Level 1 Game",1) -- Not work codes;
    _root.gotoAndPlay("Level 1 Game",1); --Not work codes

    Please try give the Frame 1 of your that scene a "frame" label and forget about scene name;
    _root.gotoAndPlay("frame_label_name");

  5. #5
    Junior Member
    Join Date
    Jun 2001
    Posts
    3
    Originally posted by MattMan
    ok... try this:
    _parent.gotoAndStop(1);

    maybe it'll work that way.
    nope, thanks tho...

    Originally posted by jweaver
    Yeah, there seems to be a problem going between scenes from a movie clip. Instead, just use labels at your goto points and call them in your 'gotoAndPlay' actions, without using any scene names.
    that seems to work, thanks jweaver/ericlin!

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