package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var letters:Array = ["a", "b", "c"]; for (var i:int = 0; i < letters.length; i++) { trace("Element " + i + ": " + letters[i]); } } } }