-
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
-
ok... try this:
_parent.gotoAndStop(1);
maybe it'll work that way.
-
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.
-
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");
-
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|