<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="white"> <mx:Label text="Type in something:" /> <mx:TextInput id="something" /> <mx:Button click="trace('TextInput: ' + something.text)" label="Record Something" /> </mx:Application>