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
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);
}
See also
do
while, for, for..in,
230
Chapter 2: ActionScript Language Reference
causes the Flash interpreter to skip the rest of the loop body. In the
loop,
for..in
continue
while
trace(i)
causes the Flash interpreter to skip the rest of the loop
statement is skipped:
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?