A Flash Developer Resource Site














Internet Commerce

Partners & Affiliates














Developer Channel

internet.com


Featured Flash FLA
Gallery Downloads 11246 Flash Movies | 9 New Flash Movies Added
What's New | Top 100

Featured FLA

» Author: Gurgen Tagvorian
» Title: Perpetuum Mobile
» Description: It's just a Perpetuum Mobile for you
» More by Gurgen Tagvorian


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

Featured Site

» Posted in the Flash Kit Links section
» Title: Atlantis Media Ltd
» Comments: Greg Rudman new media creative & website design - Atlantis Media Ltd


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

» How to convert FLV video to MP3 audio for Mac OS
» Join flv videos together with just a few clicks
» How to convert flv file to avi for mac os x
» How to Create Christmas Flash Greeting eCard without programming skills
» How to Create Real Estate Flash Photo Gallery Presentation
» How to burn DVD, VCD, SVCD
» How to convert FLV to ASF with FLV to ASF converter for Mac os X
» 5 ways to convert PowerPoint to video
» How to Make Vista Buttons
» Unknown Tag: Title10
Random Tutorial | Add Site

bbm.netBBM.net is designed to save you time and deliver the highest quality royalty-free music for your multimedia projects. Features include: over 450 Music Loop Packages from some of the best composers in the business, our music search engine to speed your selection process, alternate music versions & bonus sounds to use for rollovers or transitions, free technical support and free consulting.

Click here for details »

Web Production
Aquent
US-CO-Denver

Justtechjobs.com Post A Job | Post A Resume


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

Search Tutorials


Tutorials Tutorials » Dynamic_Content

Categories Dynamic Multiuser Login WITHOUT any php, perl, txt etc
Author: Neilio500 | Website: www.neilio500.2hell.com |

 
Page 1
1

Welcome to the Dynamic Multiuser Login Tutorial. In this tutorial you will acheive in making a multiuser login. This tutorial is Part A - Multi username and password login other tutorials include; A) Multi username and password login B) Just a multiuser password login C) Multi username and password login WITH dynamic message box You have probably come to this page because all the multiuser logins you've seen so far, you've needed to use a txt file or php, but what if you can't use them for some reason?? well you've come to the right place. I have found a solution that does not use any php or txt file or cgi scripting, it only uses flash. The only one side effect i've found is that to add users, you need to go back into flash and edit the file, but if you can not use php or any scripting, then i'm guessing you'll be quite happy with going back and editing the file! If you have any problems, please don't be afraid to ask me at neilio500@hotmail.co.uk OK, enough with the chit chat! let's get down to business...


PART A - A Multi Username AND Password login. Step 1: First off, create two input text boxes, making sure you set the second one from a single line text box to a password text box. Step 2: Set the variable for the first one as "user". Set the variable the the second one as "pass". Step 3: Create any type of button that you would like to use and place it on the stage. CHECK You should now have two input text boxes with the variables "user" and "pass", and a button on the stage. If not please repeat steps 1 - 3. Step 4: In the frame, put the follow actions; stop(); Step 5: In the button>, put the following actions; on (release, keyPress "") { if (user == "111" && pass == "111") { //change user and pass values to what you want gotoAndPlay("enter"); //change this to what you want //eg getURL(); } else if (user == "222" && pass == "222") { //change user and pass values to what you want gotoAndPlay("enter"); //change this to what you want //eg getURL(); } else if (user == "333" && pass == "333") { //change user and pass values to what you want gotoAndPlay("enter"); //change this to what you want //eg getURL(); } else if (user == "444" && pass == "444") { //change user and pass values to what you want gotoAndPlay("enter"); //change this to what you want //eg getURL(); } else if (user == "555" && pass == "555") { //change user and pass values to what you want gotoAndPlay("enter"); //change this to what you want //eg getURL(); // TO ADD MORE USERS, SIMPLY ADD ANOTHER... // } else if (user == "" && pass == "") { // change user and pass values to what you want // gotoAndPlay("enter"); // change this to what you want // eg getURL(); // IN THIS SPACE } else { gotoAndStop(1); //change this to the intial login frame user=""; pass=""; //leave these if you want the input boxes //to be reset to nothing if the details //were entered wrong } } CHECK You should now have two input text boxes with the variables "user" and "pass", and a button on the stage. If not please repeat steps 1 - 3. ALSO the frame should have the above actions and the button should have the above actions If not please repeat steps 4 + 5
Thank you for trying out this tutorial. If you have ANY problems at all, please email me, i WILL help you out.

1

» Level Intermediate

Added: : 2006-04-18
Rating: 3.79 Votes: 14
Hits: 859
» Author
Trying to help some first time - advanced flash creators
» Download
Download the files used in this tutorial.
Download (0 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
 
   
 

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers