|
|
Search Tutorials
With the Property window open type 'username' where it says Var(variable) and select 'Single Line' from the pop-up menu. Do the same for the other text but instead of 'username' type 'password' and select 'Password' from the pop-up menu. By selecting 'Password' the user will see '*' instead of letters.
Near the username text box write 'username' and near the 'password' box write 'password' so you'll know which is which, or you could write in the boxes 'Username'(in 'username') and 'Password'(in 'password' box). Step 3: Making a text box for the responseNow we'll need to make another text box with no text inside it. Make the width '395' and the height '34'. In the variable(Var:) field type 'mess'(abbreviation from message). The suited property for this text showld be 'Dynamic Text'. This way the user can't modify the response. Step 4: Adding a buttonDraw a rectangle(R)- no stroke. Create a text over the button and write 'Submit'
or 'Sign In'. Select the text and the rectangle (hold down 'Shift' and click
once on the rectangle and once on the text) and press 'F8' or go to Insert Step 5: Adding the actionscriptClick on the button you've created. Go to Window Insert an 'evaluate' action(Esc+ev). Type in mess="Sigh in please!". Insert an 'if' action(Esc+if) and type username=="flashkit" where "flashkit" is the username you'd like to use. Note: you have to use double '='!!!
|
||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||
|