1 Reply Latest reply on Apr 19, 2006 1:57 AM by sneakyimp

    URGENT !! HELP NEEDED

    13 Nello
      I have a movie that works out a formula and generates a number based on another input entered by the user. Uptill now it works fine. What I want now is to have another input field, where the user enters the number (the automatically generated number) into it. The script has to compare the generated number with the one entered by the user and if they are the same the user proceeds to a specific page, if not an error window comes up. This is the code I entered for the enter button:

      on (release, keyPress "<Enter>") {
      if (display = Retype){
      getURL("player.swf","_SELF");
      }
      else {
      getURL("error");
      }
      }

      At the moment, once the button is clicked, the good page comes up, even if the two numbers are not the same!

      can anyone help me pls?