package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ for (var i:int = 10; i > 0; i--) { trace(i); } } } }