I have a value object that i cast as an object.
public var MyObj:Object = new MyObj
All of the properties of MyObj are bindable.

I have a form item Text input object that is bound to one of the 
properties of MyObj.
BindingUtils.bindProperty(MyTextInput, 'text', MyObj, 'Prop1');

I have a web service that I need to update MyObj.  In my result 
handler I can set set each of the properties of MyObj directly from 
the result object.  When I do this, the binding work great and the 
MyTextInput text is updated automatically.  

The problem is, I would rather simply set the MyObj = event.result 
rather than copying over each individual property.  In testing, I 
find that I can set MyObj = event.result and then access the 
properties as expected.  For example

Alert.show(MyObj.Prop1) //this returns the correct value.

However, the binding to MyTextInput does not fire.  So MyTextInput is 
never updated.

Any thoughts?


Reply via email to