all groups > flash actionscript > august 2007 >
You're in the

flash actionscript

group:

How to work with scenes, "gotoandplay" & movieclips?


How to work with scenes, "gotoandplay" & movieclips? mr. paperbox
8/20/2007 8:04:15 PM
flash actionscript:
Hi!

I've got a big problem when I'm working with movieclips, scenes &
"gotoandplay"-command.
Problem is, that I've a game, where you can move movieclip (player) with keys,
so all those "gotoandplay-commands" must be within movieclips. So, I have tried
to use "_root.gotoandplay();"-command, but when the second scene is playing,
and that code is being used, the whole thing skips to scene 1 (main, the first
one...), and starts to play from there...
So, I suppose, that that "_root", isn't the right thing to be in there, but
what code would work?

This is my schoolwork, so I'd need quick answers... Thanks.
Btw. Sorry my bad English :wink;
Re: How to work with scenes, "gotoandplay" & movieclips? kglad
8/20/2007 8:30:25 PM
Re: How to work with scenes, "gotoandplay" & movieclips? mr. paperbox
8/20/2007 8:33:05 PM
Re: How to work with scenes, "gotoandplay" & movieclips? kglad
8/20/2007 8:36:55 PM
if the label is run, use:



Re: How to work with scenes, "gotoandplay" & movieclips? mr. paperbox
8/20/2007 8:41:47 PM
Re: How to work with scenes, "gotoandplay" & movieclips? kglad
8/20/2007 8:57:33 PM
AddThis Social Bookmark Button