PDA

View Full Version : [AS2] help with game


Gterminal
04-29-2009, 12:19 AM
Hey, I need help with a game i am currently making..
It uses a timer and a healthbar..
I want it so when the healthbar = 0 It goes to frame 3 And when the timer =0 It goes to frame 2... But this is not working.. When i make 1 go to a frame.. They both go to it... Please help, This is the actionscript:

http://pastebin.com/m4eb3385d

Thanks In advance!

~GTerminal~

ImOnCloudNine69
04-29-2009, 05:31 AM
Hey, I need help with a game i am currently making..
It uses a timer and a healthbar..
I want it so when the healthbar = 0 It goes to frame 3 And when the timer =0 It goes to frame 2... But this is not working.. When i make 1 go to a frame.. They both go to it... Please help, This is the actionscript:

http://pastebin.com/m4eb3385d

Thanks In advance!

~GTerminal~

i didnt look at your attachment, but when you go to another frame, all dynamically added objects will not dissapear, pause, or remove, you must do this yourself.