00:00
00:00
All4Flash
I like flash

Male

Joined on 3/19/08

Level:
5
Exp Points:
270 / 280
Exp Rank:
> 100,000
Vote Power:
4.49 votes
Rank:
Civilian
Global Rank:
> 100,000
Blams:
2
Saves:
21
B/P Bonus:
0%
Whistle:
Normal
Medals:
155

FLASH IS DRIVING ME CRAZY!!!!!!

Posted by All4Flash - January 14th, 2011


does anyone know how i can make my game go to a different frame depending on the score?
for example i want my game to go to frame 4 (nextFrame) when over 500 + is scored and to go to frame 5 when lower then 500 is scored. at the moment on the last frame of my timer i have
_root.nextFrame ()
and that sends you to the "You Scored 'BLAH BLAH BLAH'" page, i want it to send you to either a YOU WIN YOU SCORED THIS or YOU LOSE TRY AGAIN depending on your score.
fyi i have a text box with a variable of "score"
plz help, my game needs you!


Comments

I'm not a pro at flash, but I think I can help you. (If you're in AS2.)
At the last frame of your timer, you should've written this :
_root.onEnterFrame = function(){
if(score >= 500){
_root.gotoAndStop(4);
} else {
_root.gotoAndStop(5);
};
};