Flash Login Form

Out of context: Reply #4

  • Started
  • Last post
  • 6 Responses
  • ********
    0

    Step 1.
    Make two text boxes (as input text) in frame 1. Then find the "Var:" in your Properties windows and name one of the boxes "user" and the other box "password".

    Step 2.
    Make a button and paste this into the actionscript:

    on (press) {
    if (user add password eq "your username" add "your password") {
    gotoAndStop(3);
    }
    }
    on (release) {
    gotoAndStop(2);
    }

    Step 3.
    In frame 2 your could have somthing like "Sorry, but the passowrd was wrong, please try again" and in frame 3 you have a the secret stuff your client needs to see... it's that simple

    Step 4.
    Search
    http://www.actionscript.org/
    or
    http://www.flashkit.com/
    next time, before asking here!
    :)

View thread