Submit button call
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:VBox width="520" height="650"> <mx:Script> private function saveResume():void { fileNameDisplay.text = "asdf"; } </mx:Script> <mx:Text id="fileNameDisplay" text="" width="500"/> <mx:RichTextEditor id="richTextControl" width="500" height="400"/> <mx:Button id="labelButton" label="Submit Resume" click="saveResume()"/> </mx:VBox> </mx:Application>