In a
loop,
for
continue
following example, if the i modulo 3 equals 0, then the
trace("example 3");
for (var i = 0; i < 10; i++) {
if (i % 3 == 0) {
continue;
}
trace(i);
}
In the following
for..in
loop body and jump back to the top of the loop, where the next value in the enumeration is
processed:
for (i in _root) {
if (i == "$version") {
continue;
}
trace(i);
}
default statement
default: statements
Defines the default case for a
parameter of the
switch
any of the
expression
statement.
A
is not required to have a
switch
not have to be last in the list. If you use a
produces an error and the script doesn't compile.
Availability: ActionScript 1.0; Flash Lite 2.0
Parameters
statements:String
186
ActionScript language elements
causes the Flash interpreter to skip the rest of the loop body. In the
loop,
causes the Flash interpreter to skip the rest of the
continue
statement. The statements execute if the
switch
statement doesn't equal (using the strict equality [
parameters that follow the
default
default
- Any statements.
trace(i)
keywords for a given
case
case statement. A
default
statement outside a
statement is skipped:
expression
] operation)
===
switch
case statement does
statement, it
switch
Need help?
Do you have a question about the FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?
Questions and answers