Differences between defining bindings in MXML and ActionScript?
Submitted by: AdministratorThere are a few differences between defining data bindings in MXML at compile time and in defining them at runtime in ActionScript:
* You cannot include ActionScript code in a data binding expression defined by the bindProperty() or bindSetter() method. Instead, use the bindSetter() method to specify a method to call when the binding occurs.
* You cannot include an E4X expression in a data binding expression defined in ActionScript.
* You cannot include functions or array elements in property chains in a data binding expression defined by the bindProperty() or bindSetter() method. For more information on property chains, see Working with bindable property chains.
* The MXML compiler has better warning and error detection support than runtime data bindings defined by the bindProperty() or bindSetter() method.
Submitted by: Administrator
* You cannot include ActionScript code in a data binding expression defined by the bindProperty() or bindSetter() method. Instead, use the bindSetter() method to specify a method to call when the binding occurs.
* You cannot include an E4X expression in a data binding expression defined in ActionScript.
* You cannot include functions or array elements in property chains in a data binding expression defined by the bindProperty() or bindSetter() method. For more information on property chains, see Working with bindable property chains.
* The MXML compiler has better warning and error detection support than runtime data bindings defined by the bindProperty() or bindSetter() method.
Submitted by: Administrator
Read Online Adobe Flex Actionscript Job Interview Questions And Answers
Top Adobe Flex Actionscript Questions
☺ | What does calling preventDefault() on an event do? How is this enforced? |
☺ | How do you add event listeners in mxml components. Now AS3 components? |
☺ | What is the difference between ChangeWatcher.watch, and BindingUtils.bindProperty? |
☺ | Is it possible to make httpService Requests synchronous in adobe flex? |
☺ | Explain How many levels does Flash MX support? |
Top Adobe Categories
☺ | Adobe Photoshop Interview Questions. |
☺ | Adobe Illustrator Interview Questions. |
☺ | Adobe Flash Interview Questions. |
☺ | Adobe Flex Actionscript Interview Questions. |
☺ | Photoshop Expert Interview Questions. |