Mega Code Archive
An example of a for statement that outputs the numbers from 0 to 999
package{
import flash.display.Sprite;
public class Main extends Sprite{
public function Main(){
for (var i:int = 0; i < 1000; i++) {
trace(i);
}
trace ("That's the end.");
}
}
}