Using trace() to write information to the Flash log file
<?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>
Related examples in the same category