Bind TextInput to Text : TextInput Data Binding « Components « Flex

Home
Flex
1.Chart
2.Components
3.Container
4.Data Model
5.Development
6.Effects
7.Event
8.Graphics
9.Grid
10.Style
Flex » Components » TextInput Data Binding 




Bind TextInput to Text
Bind TextInput to Text
          


<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:VBox>
      <mx:Text id="output" text="{input.text}" width="200" height="200" />
      <mx:TextInput id="input" />
    </mx:VBox>
</mx:Application>

   
    
    
    
    
    
    
    
    
    
  














Related examples in the same category
1.Sets value for a public variable and bind to TextInputSets value for a public variable and bind to TextInput
2.Model with data binding to TextInputModel with data binding to TextInput
3.Binding to a TextInput controlBinding to a TextInput control
4.Binding 2 way between Form TextInput fieldsBinding 2 way between Form TextInput fields
5.Binding one TextInput to another TextInputBinding one TextInput to another TextInput
6.Bind variable to a TextInputBind variable to a TextInput
7.Bind TextInput to ModelBind TextInput to Model
8.Convert value in TextInput to number and bindConvert value in TextInput to number and bind
9.Use tag to define a data binding from a TextInput control to a Label controlUse <fx:Binding> tag to define a data binding from a TextInput control to a Label control
10.Bind data entered in a TextInput control to a data modelBind data entered in a TextInput control to a data model
11.Bind Label control to TextInput control's textBind Label control to TextInput control's text
12.Use one tag along with curly brace syntax to bind the Label control's text to two different TextInput controlsUse one <mx:Binding/> tag along with curly brace syntax to bind the Label control's text to two different TextInput controls
13.Bind TextInput to ArrayCollection with BindingUtilsBind TextInput to ArrayCollection with BindingUtils
14.Binding a Text and TextInputBinding a Text and TextInput
15.Use curly braces ({}) syntax to show a Text control that gets its data from a TextInput control's text propertyUse curly braces ({}) syntax to show a Text control that gets its data from a TextInput control's text property
16.Use curly braces ({}) syntax to show a Label control that gets its data from a TextInput control's text propertyUse curly braces ({}) syntax to show a Label control that gets its data from a TextInput control's text property
17.Show a method with two parameters bound to the text properties of TextInput controls.Show a method with two parameters bound to the text properties of TextInput controls.
18.Bound TextInput ControlBound TextInput Control
19.Cause a TextInput to modify the LabelCause a TextInput to modify the Label
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.