In the following example, no break occurs in the first case group, so if the number is 1, both
and
appear in the Output panel:
B
switch (myNum) {
case 1:
trace ("A");
case 2:
trace ("B");
break;
default:
trace ("D")
}
See also
switch
continue
Availability
Flash Lite 1.0.
Usage
continue
Parameters
None.
Description
Statement; jumps past all remaining statements in the innermost loop and starts the next
iteration of the loop as if control had passed through to the end of the loop normally. It has no
effect outside a loop.
In a
loop,
while
and jump to the top of the loop, where the condition is tested.
In a
loop,
do..while
body and jump to the bottom of the loop, where the condition is tested.
In a
loop,
for
continue
jump to the evaluation of the
66
Flash Lite Statements
causes the Flash interpreter to skip the rest of the loop body
continue
causes the Flash interpreter to skip the rest of the loop
continue
causes the Flash interpreter to skip the rest of the loop body and
loop's post-expression.
for
A
Need help?
Do you have a question about the FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?