MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference page 199

Actionscript 2.0 language reference
Table of Contents

Advertisement

In the following
do..while
loop body and jump to the bottom of the loop, where the condition is tested:
trace("example 2");
var i:Number = 0;
do {
if (i % 3 == 0) {
i++;
continue;
}
trace(i);
i++;
}
while (i < 10);
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);
}
See also
loop,
causes the Flash interpreter to skip the rest of the
continue
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 is skipped:
trace(i)
Statements
199

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF