someVar must be bindable and dispatch an event.If you have a setter and getter for the property, or it's a public property, just use the [Bindable] metatag. Otherwise, if you only have a getter, you have to use the [Bindable(event="event name")] syntax with the getter and dispatch the given event every time the property is changed.
On Tue, Sep 23, 2008 at 1:13 PM, Manu Dhanda <[EMAIL PROTECTED]>wrote: > > Do I explicitly need to dispatch any event for BindUtils.bindProperty(..) > to > happen ?? > > Cuz, I am not getting my "xyz" var changed with the change in someVar. > > Note: I am putting this line of code > (BindingUtils.bindProperty(this,"xyz",MyModel.getInstance,"someVar") in > creationComplete(). > > Thanks, > Manu. >

