Flash can be completed by frame. asp or by file. Here, I will divide user logon and user registration into two steps for you to understand. Flash is divided into two frames, and ASP is divided into two files.
Preparation:Flash8, IIS, miscrosoft Access 2003;
Start:
Database:
Create a table named usertable in design view. The three fields are ID, username, text, and password, respectively;
Enter the username and password of the data in chooseflash;
:
Flash:
The new file is named login. fla, and the stage size is set to 250*200. The background is random;
Frame 1:User Logon
The new three layers are named BG, body, and as respectively;
Stage instances:
A window component is named win on the stage;
Win (background), put it on the BG layer;
Settings:
The two button components are named login and register respectively;
Login (LOGIN), register (registration), put in the body layer;
Settings: