myTextField.addEventListener(Event.CHANGE, text_change); ... private function text_change(event:Event):void { textArray.push(myTextField.text); }