0 Replies Latest reply on Jun 20, 2007 3:23 PM by rtreitner

    login btn problems

    rtreitner
      question i tried this code in my flash site that i got from another old post and changed a few things to use it.

      on (release, keyPress "<Enter>") {
      if (userName == "client" && password == "enter") {
      _root.gotoAndStop (15);
      } else {
      _root.gotoAndStop(16);
      }
      }
      while it does bring me to the next frame in the movie just fine, it also will take me there regardless of what i put, or even if i put nothing at all. So am i miss understanding something, doing something wrong, or what. How do i fix this so that it won't send me to the next frame unless the correct username and password are inputted?