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."); } } }