Forum Moderators: open
If so, and as always, there are numerouse ways to accomplish this.
you could....
set a global var like
_global.continueButtonLocked = true;
in the first frame of you movie, before an instance of the continue button mc is generated.
Then, after each question is answered, place the code
_global.continueButtonLocked = false;
as the last line of code in your question handler function - the action you do, once a question has been answered - prolly your method for recording answers.
Then, on your actual continue button, place somehting like this
on (release){
if (_global.continueButtonLocked == false){
// code to go to next question
// set the lock to true for next question
_global.continueButtonLocked = true;
}
}
again, this is just one way, and honestly not the way i would do it, but should display the simple methodology behind such.
hope that helps and good luck with the project