8 Replies Latest reply on May 16, 2007 7:30 AM by kglad

    password protection actionscript

    blackbeltjones80
      Hi there,
      I have this actionscript for a simple password protection which doesn't quite work, i have looked on previous threads for the same sort of code but have not found a solution, i am using flash 8, please help

      on (release, keyPress "<Enter>") {
      if (password == "abcde") {
      getURL(" http://www.logicplc.co.uk");
      } else if (password == "entertainment") {
      getURL(" http://www.logicplc.co.uk/entertainment/index.html");
      } else if (password == "private") {
      gotoAndStop("private");
      } else {
      gotoAndStop("wrong");
      }
      }