Button Click event sets TextArea test
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Panel title="My Application" paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10"> <mx:TextArea id="textarea1" /> <mx:Button label="Submit" click="textarea1.text='Hello World';" /> </mx:Panel> </mx:Application>