Hello again, I’ve posted this question before, but the reply did not work for me.Here’s the story Iam making a cricket game where the fielder has to catch the ball.The batter and bowler are one movie clip.Inside this clip are movie clips(balls) which fall in random positions on the screen.When these balls collide with the fielder the score on the main timeline goes up by one.My problem is that when the score gets to 15 I want the game to move onto the next scene.I’ve tried this code on the first frame of the main timeline:
total = 0
if (total == 15){
gotoandplay (next scene,“1”)
}
(total being the variable(text box)).I’ve also tried changing total to _root.total,but I get an error in the output box.Sorry about this post being soo long but I need help desperately.Please