Explain how binding works in mxml components in flex? : adobe flex action script
Answer Posted / Mahesh Pratap Singh Sikarwar
Binding is a feature in Adobe Flex that automatically keeps the value of an MXML component's property synchronized with a corresponding variable. This is done using the [Bindable] metadata tag on the variable and the @ binding attribute in the MXML component. For example:nn<fx:Script>n[Bindable] public var myVar:String;n</fx:Script>n<mx:Label text="{myVar}" />
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers