There 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 FAX 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.
=> The MXML compiler has better warning and error detection support than runtime data bindings defined by the bindProperty() or bindSetter() method.
=> 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 FAX 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.
=> The MXML compiler has better warning and error detection support than runtime data bindings defined by the bindProperty() or bindSetter() method.
No comments:
Post a Comment