package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var aTitles:Array = ["a", "b", "c"]; for (var i:Number = 0; i < aTitles.length; i++){ if(aTitles[i] == "a") { trace("Title found."); break; } } } } }