THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Editable text on a single line.
Set text to display
Set the text in MXML:
<js:TextInput text="Hello, FlexJS!"/>
Listen to events
Listen for changes to the text, such as when there is keyboard input:
<js:TextInput id="input" change="onChange(event)"/>
<fx:Script>
<![CDATA[
private function onChange(event:Event):void
{
trace("change:", input.text);
}
]]>
</fx:Script>