PDA

View Full Version : To move on to finish a game


ros
05-10-2005, 03:21 PM
In the game I have a dinamic text score (Called 'text3') that every time you hit it goes up by one when the score gets to 3, i would like it to to take me to frame 3 of the main movie. I have tried various ways to set the if statement the one below goes to frame three after the the first hit

if (_root.text3==3);
gotoAndPlay(3);

So i know I have placed it the right place of the movie (on the time line)
where and why have I gone wrong? :eek:

wink
05-10-2005, 03:33 PM
I don't know what you are trying to do exactly, but your if statement should look like this:


if (_root.text3 == 3)
{
gotoAndPlay(3);
}


(no semicolon after the if and don't forget the brackets...)

ros
05-10-2005, 04:28 PM
thank you :)