PDA

View Full Version : I know about +, but is there a..



dudeman
August 23rd, 2002, 06:39 PM
I know + would add more thingies.. but is there anything that would act like a "/"? Like maybe "a / b" would act either a or b.

Can anyone help =)

rob5408
August 24th, 2002, 12:19 AM
do you mean string concatenation or addition or something else? rob

lostinbeta
August 24th, 2002, 12:38 AM
That is a good question...I think...I don't really understand what you mean. Do you mean can you divide things? Or do you mean can you make flash choose between a or b?

Try and specify more :)

andr.in
August 24th, 2002, 11:19 AM
he means "a" OR "b" ...I think :)
welll... you can make an array with a and b and choose randomly from the array...

dudeman
August 24th, 2002, 09:49 PM
I kinda meant if the person says a or b in a text box, e.g. him saying yes or no would result in whatever.. heh hope this clears it :)

lostinbeta
August 24th, 2002, 11:55 PM
I think what you want is something like this...

http://www.kirupa.com/developer/flash5/ifelse.asp

That link shows how to create a password field, but you can use it for other things too of course. It uses simple If/Else statements.

I hope this helps :)

dudeman
August 25th, 2002, 12:07 AM
Have that one.. I was trying to make a cheap database.. it would load a txt file heh.
But then again they can just go to the txt file.

Is there another way to store username and passes inside the flash?