Writing a for statement

You can write the for statement using the following format:

for (init; condition; update) {
    // statements
}

The following structure demonstrates the for statement:

var i:Number;
for (var i = 0; i<4; i++) {
    myClip.duplicateMovieClip("newClip" + i + "Clip", i + 10, {_x:i*100, _y:0});
}

Remember to include a space following each expression in a for statement.