Inline ActionScript
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:TextInput id="fullNameTextInput" text="AAA" /> <mx:Button label="Click me" click="fullNameTextInput.text = 'AAA'" /> </mx:Application>