PDA

View Full Version : how do you create text box that excepts MULTIPLE passwords?



technomania
September 13th, 2001, 08:57 PM
hi i'm trying to create an entry box that excepts multple passwords. i know how to do it for a single password, but I think I need an array to do multiple.
I need to be able to do this in FLASH 4

How is it done?
Thanks ahead of time!

here's my current script:
------------------------
password = inputName;
if (password eq "oasis" ) {
&nbsp &nbsp &nbsp &nbsp gotoAndPlay (90);
} else {
&nbsp &nbsp &nbsp &nbsp gotoAndPlay (113);
}

SouljahBoy
September 15th, 2001, 01:41 AM
password = inputName;

if (password eq "oasis" or password eq "oasis1" or password eq "oasis3" )

{

gotoAndPlay (90);

}



else

{

gotoAndPlay (113);

}

technomania
September 15th, 2001, 03:29 PM
thanks!

cybertai
March 20th, 2002, 04:49 AM
how do i make a password box so that plp can type thje password in and i bring them to a certain fram if not to other.. thanks

missbee
January 30th, 2007, 02:15 PM
I can't read/view the answer posted here by soulJahboy. Can anyone help?? I need some info how how to create the multiple passwords...thanks!

bwh2
January 30th, 2007, 03:28 PM
why would you need multiple passwords? even if you need them, why wouldn't you just make 2 separater text boxes? i mean, it's just one password if you have it in the same box.

Stratification
January 30th, 2007, 06:16 PM
It's accepting multiple passwords. Just scroll down in the solution box, or copy and paste out of it, but this is a really old topic to pull up.

bwh2
January 30th, 2007, 06:20 PM
oh, i misunderstood. yeah, didn't see the source either.