I have a flash app using the flex framework – I would like to bind a display object textField with data from my dataModel.
How do I do this without the flex binding brackets “{ }”
Thanks in advance everyone.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The easiest way to do this is to use the
BindingUtilsclass. For example, say you have an objectfoowith propertybarthat you want to bind to your text area’stextproperty; all you need to do is the following in your ActionScript:This will tell Flex to watch
foofor any changes to the propertybar, and when changes occur, copy the value tomyTextArea.text.Full documentation can be found here.