PDA

View Full Version : Quiz problem ?


stephane59
11-08-2001, 12:25 PM
Hi ,

I work on an adaptation of moock flash/xml quiz .
http://www.moock.org/webdesign/lectures/ff2001sfWorkshop/
(06 - 09 - 11 - 13 - 15 )

I have making a different version of moock quiz :
when you give a bad response , you are diriged to a information
page to help the user to give a true response and a back button
to give again a response of this question .

I have a question :

- I would like to create this back button to view again answers
and give a second chance for user but it refuse to work correctly!
(When you select an answer, you have always bad response !)

my code :

THE QUIZ CODE FOR BACK BUTTON
infoClip.themeText = questionsArray[currentQuestion].themeAnswer;
infoClip.attachMovie("recommencerQuestion", "recommencerClip"+j, j);
infoClip["recommencerClip"+j]._y = 230;
infoClip["recommencerClip"+j]._x = -100;

// function quizRepose
function quizRepose () {
makeQuestion((currentQuestion=(currentQuestion)));
}

THE ACTION FOR THE BACK BUTTON :
on (release) {
_root.quizRepose();
}

Can you exam my code ?

Thanks in advance

Stephane from France

mad_A
11-08-2001, 12:57 PM
Is that stephane from France who lives in Arizona?