beelzebubby
06-20-2008, 11:14 AM
I imagine this a reasonably straight forward question but I'm new to action script so here it is.
Its for a quiz game game
I set my variable in my first frame of my movie ( score = 0)
Ive created two buttons which represent the right or wrong answer which when you click on, add or subtract from the score which is displayed in a dynamic text box (var= score).
What I want to know is how I incorporate a button at the end of the quiz which checks the score and if its under 50 points goes to a fail screen/frame or if over 50 points goes to a pass screen/frame.
Also how could that then be adjusted to be score specific...For instance if the score = 100 it goes to a congratulations screen/frame.
thanks
Its for a quiz game game
I set my variable in my first frame of my movie ( score = 0)
Ive created two buttons which represent the right or wrong answer which when you click on, add or subtract from the score which is displayed in a dynamic text box (var= score).
What I want to know is how I incorporate a button at the end of the quiz which checks the score and if its under 50 points goes to a fail screen/frame or if over 50 points goes to a pass screen/frame.
Also how could that then be adjusted to be score specific...For instance if the score = 100 it goes to a congratulations screen/frame.
thanks