switch « Statement « Flash / Flex / ActionScript






1.The general form of a switch statement
2.Working with the switch Statement
3.switch statement executes one of several possible code blocks based on the value of a single test expression
4.The switch statement is useful when performing the same action for one of several matching possibilities.
5.Adding a break statement to switch statement
6.Adding a default statement