# PLEASE HELP! MC problem in a Quiz

**URL:** <https://forum.kirupa.com/t/please-help-mc-problem-in-a-quiz/266235>\
**Category:** Uncategorized\
**Created:** [July 17, 2008, 2:46pm UTC](https://forum.kirupa.com/t/please-help-mc-problem-in-a-quiz/266235 "2008-07-17T14:46:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jemma\_jemma](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@jemma\_jemma](https://forum.kirupa.com/u/jemma_jemma)\
**Post date:** [July 17, 2008, 2:46pm UTC](https://forum.kirupa.com/t/please-help-mc-problem-in-a-quiz/266235/1 "2008-07-17T14:46:15Z")

</div>

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&lt;=_global.options;i++) {
        checked = eval("_level0.option_button" + i).checked;
        if (i&lt;&gt;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&lt;=_global.options;i++) {
        checked = eval("_level0.option_button" + i).checked;
        if (i&lt;&gt;this.number && i&lt;&gt;_global.correct) {
        eval("_level0.option_text" + i).textColor = 0x666666;
        eval("_level0.option_button" + i).gotoAndStop(4);
        
        }
    }
    _level0.nextFrame();
}

```

}

* * *

Thanks in advance guys!!!

jemma.jemma
