[AS2] Making it so that when your score gets to ten, you win the game
I am making an avoiding game, and i have basically everything worked out, except how to win.
I have worked on a peice of script for one hour, and cannot figure out how to do it.
the script is
if (_root.score>=10) {
_root.gotoAndStop("winmou");
this.removeMovieClip();
}
Making it so that when your score gets to ten, you win the game. but the frame does not change, and just keeps playing the game. is something wrong? The script is on the frame and there are no errors. Help D=
|