6 Replies Latest reply on Mar 9, 2011 11:14 AM by saithus

    quiz score counter, not displaying final score?

    jaimiedj

      hi there just wondering if anyone can help me

      i have a quiz on 5 scenes, a question on just about each scene.

      when the user clicks the correct answer button i have:

       

      on(release) {

      score = score +1

      gotoAndPlay ("nextscene",1) ;

      }

       

      and when the incorrect answer button is clicked i have:

       

      on(release) {

      gotoAndPlay ("nextscene",1) ;

      }

       

      and on the last scene i have "Quiz finished, your score was __"

       

      where the" __" is i have put a dynamic text box which i have named score, but all that is displayed at the end of the quiz

      regardless of wether i get all the questions right or wrong is the letter a??

       

      does anyone know what im doing wrong?

       

      would really appreicate any help ?