The int type is perfect for counters, and is frequently found in for loops:
package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ for (var i:int = 0; i < 1000; i++){ } } } }