Hi guys,
I have this problem, I am unsure of how to make this work. I have this training course I am creating, and it goes through a 20 min presentation and then a quiz, then 20 min presentation, so on and so forth.
When someone answers a question wrong in the quiz, I need the frame to refresh so they can answer the question again until they get the correct answer. This isn’t the way I have originally planned it, but as we all know things change.
Here is the code that I have on my check box.
on (release) {
if (this.correct == 1) {
_global.answeredcorrect++;
for(i=1;i<=_global.options;i++) {
checked = eval("_level0.option_button" + i).checked;
if (i<>this.number) {
eval("_level0.option_text" + i).textColor = 0x666666;
eval("_level0.option_button" + i).gotoAndStop(2);
}
}
eval("_level0." + this.textclip).textColor = 0x000099;
gotoAndStop(2);
_level0.nextFrame();
} else {
eval("_level0.option_button" + _global.correct).gotoAndStop(4);
eval("_level0.option_text" + _global.correct).textColor = 0x000099;
eval("_level0." + this.textclip).textColor = 0x666666;
gotoAndStop(3);
for(i=1;i<=_global.options;i++) {
checked = eval("_level0.option_button" + i).checked;
if (i<>this.number && i<>_global.correct) {
eval("_level0.option_text" + i).textColor = 0x666666;
eval("_level0.option_button" + i).gotoAndStop(4);
}
}
_level0.nextFrame();
}
}
Thanks in advance guys!!!
jemma.jemma