Affects Version/s: Adobe Flex SDK 4.0 (Release)
Fix Version/s: None
Component/s: Data Binding
Environment:Affected OS(s): All OS Platforms
Language Found: English
Steps to reproduce:
1. Add the attached file to a Flash Builder 4 project set to compile with the Flex 4 SDK.
2. Build and run the application, and notice that the Text components text doesn't stay in sync with the TextArea's text.
The components text don't stay in sync because the data binding didn't work.
The components text should stay in sync.
Workaround (if any):
In the BindingUtils.bindProperty() method, don't set useWeakReference to true.
The behavior is much different than in the Flex 3 SDK. The data binding would work in the Flex 3 SDK if useWeakReference was set to true. With Flex 4, it doesn't work, or only works for a short time. Maybe the API docs should be updated to indicate the change in behavior?