![]() ![]() | |
Flash Player 4.
caseexpression:statements
expression Any expression.
statements Any statements.
Nothing.
Statement; defines a condition for the switch action. The statements in the statements parameter execute if the expression parameter that follows the case keyword equals the expression parameter of the switch action using strict equality (===)
If you use the case action outside of a switch statement, it produces an error and the script doesn't compile.
break, default, === (strict equality), switch
![]() ![]() | |