Core tips: Flash and ASP implementation of the user login/Registration program tutorial.
Flash one frame can be completed. asp can also be a file completion, here I will user login and user registration is divided into two steps to do, easy to understand, Flash two frames, ASP two files.
Preparation: Flash8, IIS, Miscrosoft Access 2003;
Start:
in the database:
Create a new table named Usertable with Design view, three fields are automatically numbered with ID, username as text, password as text;
Enter a piece of data username and password are chooseflash;
As shown in figure:
in Flash:
New file named Login.fla, stage size set to 250*200, background random;
First frame: user Login
New three layers are named BG and body and as;
Instances in the stage:
A window component is named win on the stage;
Win (background), put to the BG layer;
Setup as shown:
Two button components are named: Login and register;
Login (login), register (registration), put to the body layer;
Setup as shown:
Three TextInput text input components are named username and password and MSG respectively;
Username (user name input box), Password (password input box), MSG (message box), put to the body layer; 1 2 3 4 Next > Full text reading tips: Try the "←→" button, turn the page more convenient Oh!
[1] [2] [3] [4] Next page