Hi I’m making a “shooting” type game, and I want it so that when the ammo reaches zero it goes to the next frame (or next scene if possible.) I know it sounds easy but for some reason it keeps popping up this error about a “;” in the wrong place. It would really help if someone would take a look at it and help me out.
Thanks,
kyri
Or it could not be the text box at all, because it says the error is located in the movie clip. I tried recreating it twice but the same error occurs! Please help?
you have one to many of these [AS]}[/AS]
if you put
[AS]
on (release) {
_root.total = _root.total-1;
if(_root.total<=1)
{
_root.gotoAndStop(2);
}
}
[/AS]
on the button the movie works fine
oh thanks for the help…I guess I didn’t see that before lol