Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select Case

Status
Not open for further replies.

M3Fan

Programmer
Dec 28, 2001
73
US
Hey-
Is there some sort of Select-case statement in flash? For example, if I wanted to test a variable against multiple criteria is there a statement I could use instead of a bunch of elseifs? Something like this:

Select x
Case 1: Do this
Case 2: Do that
Case 3: Do the other thing
 
Not as far as I know, irritates the heck out of you doesn't it?

=)

PetitPal.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top