Using actionscript to access TextInput data in Text : TextInput Data « Components « Flex
- Flex
- Components
- TextInput Data
Using actionscript to access TextInput data in Text

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:VBox>
<mx:TextInput id="input" />
<mx:Text id="output" text="{'User input: ' + input.text}" />
</mx:VBox>
</mx:Application>
Related examples in the same category