# Quiz actionscript

**URL:** <https://forum.kirupa.com/t/quiz-actionscript/212799>\
**Category:** flash\
**Created:** [January 14, 2007, 2:53pm UTC](https://forum.kirupa.com/t/quiz-actionscript/212799 "2007-01-14T14:53:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Beemer](https://avatars.discourse-cdn.com/v4/letter/b/439d5e/32.png) [@Beemer](https://forum.kirupa.com/u/Beemer)\
**Post date:** [January 14, 2007, 2:53pm UTC](https://forum.kirupa.com/t/quiz-actionscript/212799/1 "2007-01-14T14:53:17Z")

</div>

Hi!

I am trying to make a CD ROM with a quiz in it. But I do not want the quiz to start on frame 1, I want it to start on frame 95. The script I have below allows the quiz to be displayed but as soon as I try to move onto the first question, it loads the flash movie from the begining again.

Can anyone help??!!!

(P.S. the below actionscript is on the “next” button)

onClipEvent (load) {

```
gotoAndPlay (96)
curQuest = 0;
if(_parent.Options.QuestionsToAsk &lt; (_parent._totalframes-2) && _parent.Options.QuestionsToAsk &gt; 0){
	totQuest = "/ " + (_parent.Options.QuestionsToAsk+1);
} 
else{
	totQuest = "/ " + String(_parent._totalframes-1);
}
	
function updateFrame() {
	curQuest++;
}
updateFrame(); 

```

}
