Internet Commerce

Partners & Affiliates

Developer Channel


Featured Flash FLA
Gallery Downloads 11401 Flash Movies | 5 New Flash Movies Added
What's New | Top 100

Featured FLA

»  Author: Nick Kouvaris
»  Title: Znax
»  Description: Znax is a board game. Click 4 tiles of the same color and form squares as big as you can. You will erase all the tiles inside the square and collect points. Get maximum score if you make a square with game edges.
»  More by: Nick Kouvaris


Random FLAs | Add Flash Movie
Featured Flash Site
Gallery Downloads 4941 Flash Sites | 1 New Flash Links
What's New | Top 100 Flash Site

Featured Site

»  Author Agence WOP Digital Agency
»  Title: Electricdrum
»  Description: French WOP Agency, 3D websites, Flash (Papervision, Away 3D), event or institutional projects. The agency operates on all digital projects: consulting, design, graphic design, development, online communication. The WOP agency follows you on the implementation of original, creative and optimized digital projects.


Random Links | Add your own Flash Related Links
Flash Tutorials 1481 Tutorials 7 New Tutorials Added!
What's New | Top100

» How To Make A Simple Animation Using Christmas Clips
» Simple Step by step flash game tutorial Spot the diffrence
» How To Make A Moving Text Slide
» Create Flash Banner With Text Float Effect
» How To Make Zoo Photos Slideshow
» How To Make A Dolphin Photos Slideshow
» How To Make A Fathers Day Slideshow
» How To Make A Transparent Background of Your Flash File
» Create Flash Banner With Text Disco Light Effect Today we will introduce you a Text Disco Light eff
» Unknown Tag: Title10
Random Tutorial | Add Site


Tutorials Home What's New Top Rated Submit myTutes Random!

Search Tutorials


Tutorials Tutorials » Actionscripting

Categories Creating a simple username and password menu
Author: Vlad Craita | Website: http://www.coolsoft.home.ro |

 
Page 3
«prev 1 2 3 4 5 next»

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 response

Now 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 button

Draw 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 InsertConvert to simbol and click 'Button'. Click 'Ok'.

Step 5: Adding the actionscript

Click on the button you've created. Go to WindowActions(F8). Double click on 'on'(Esc+on). Select besides the 'Release' 'KeyPress' and press 'Enter'. This way the button will execute the action if you press 'Enter' on the keyboard.

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 '='!!!

«prev 1 2 3 4 5 next»

» Level Intermediate

Added: : 2002-09-21
Rating: 8.44 Votes: 175
Hits: 1712
» Author
I'm a 17 year old boy who has spent the last 2 years animating in Flash. I live in Romania, i design web pages and i love to surf on the internet.
» Download
Download the files used in this tutorial.
Download (126 kb)
Get conversion and unzipping tools for PC and Mac here!

» Forums
More help? Search our boards for quick answers!

Please rate this tutorial, 10 is the top rating, you can also click the comments link to read/write a review.
10 9 8 7 6 5 4 3 2 1
Read or Post Comments