3 Replies Latest reply on May 2, 2009 11:09 PM by kglad

    Simple Input Text with Submit Button Question

    New_MTH

      OK,  I'm a Flash newbie using the program to develop  a multimedia lesson.  I want to include some practice questions where students are asked to answer a quesion by typing numerical values in the box. Then when they hit "enter" I want it to take them to a new question if they get the right answer, or a screen that says "try again" if they get it wrong.  Here's the script that I used.  I attached it to the "enter" button.  The variable name is "answer_box"

       

      on (release) {
          if (answer_box == "10") {
              gotoAndPlay(1362);
          } else {
              gotoAndPlay(1361);
          }
      }