EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Continue Statement

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
198 ActionScript language elements
In an external script file or in the Actions panel, use the new operator to create an
ImageLoader object.
var jakob_mc:MovieClip = this.createEmptyMovieClip("jakob_mc",
this.getNextHighestDepth());
var jakob:ImageLoader = new ImageLoader("http://www.helpexamples.com/flash/
images/image1.jpg", jakob_mc, {_x:10, _y:10, _alpha:70, _rotation:-5});
See also
dynamic statement
continue statement
continue
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.
Availability: ActionScript 1.0; Flash Player 4
Example
In the following
while loop, continue causes the Flash interpreter to skip the rest of the loop
body and jump to the top of the loop, where the condition is tested:
trace("example 1");
var i:Number = 0;
while (i < 10) {
if (i % 3 == 0) {
i++;
continue;
}
trace(i);
i++;
}

Table of Contents

Related product manuals