29 Replies Latest reply on May 31, 2007 6:22 PM by kglad

    website security actionscript

    mich75
      I am trying to create a username and password to access my website (I know that doing this in flash isn't very secure, but I don't need a really secure login) I have the following on my enter button actions:

      on (release, keyPress "<Enter>") {

      if ((Username+Password).toLowerCase() == "myUsername" + "myPassword") {

      nextframe();

      } else

      stop();
      }

      on (release, keyPress "<Enter>") {

      Username = "";
      Password = "";

      }

      I can't get it to link to my website that starts on frame 2 in the timeline. Is there anything anyone can suggest?

      Thanks.