In an external script file or in the Actions panel, use the
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 Lite 1.0
Example
In the following
while
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++;
}
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);
loop,
causes the Flash interpreter to skip the rest of the loop
continue
loop,
continue
operator to create an
new
causes the Flash interpreter to skip the rest of the
Statements
185