in case you don’t know, a switch command in C++ goes something like this:
switch(numbervariable)
case(1)
{
//code you want executed when numbervariable is equal to one
}
case(2)
{
//code you want executed when numbervariable is equal to two
}
case(3)
{
//code you want executed when numbervariable is equal to three
}
anyone know how to do something like that in ActionScript? TIA