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 Player 4
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++;
}
198
ActionScript language elements
loop,
causes the Flash interpreter to skip the rest of the loop
continue
operator to create an
new
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?