3 Replies Latest reply on Nov 15, 2010 11:01 PM by Flex harUI

    Automatically updating a value object when input fields are altered--can we do this?

    JoshBeall Level 1

      Hi All,

       

      I'm familiar with the use of binding so that UI controls are automatically updated if data is changed--e.g., a Label that is bound to a string variable--change the variable, and the Label text automatically changes.

       

      However, I would like the binding to be "two-way."  Meaning that I bind a text input control to a variable, and it will then display whatever value is in that variable, and if the user changes the value on the input control, the variable will have it's value updated automatically.

       

      Is there a way to do this?

       

        -Josh