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 < (_parent._totalframes-2) && _parent.Options.QuestionsToAsk > 0){
totQuest = "/ " + (_parent.Options.QuestionsToAsk+1);
}
else{
totQuest = "/ " + String(_parent._totalframes-1);
}
function updateFrame() {
curQuest++;
}
updateFrame();
}