I get the same result. As long as I copy the event.result properties over to my custom property, I get binding, but trying to set it to the object causes binding to fail even though the object properties transfer over to the custom property successfully.
I set my webservice to makeObjectsBindable but this does not seem to help. I also declare my storage object as bindable. I read the recommendation about the IEventDispather but if the object and the properties have already been tagged as bindable and setting the properties directly causes binding, i dont think implementing IEventDispatcher will be a difference. Any other thoughts on this? I could write a script to copy the properties over but i believe flex should do this and i would rather let flex handle it if it can. --- In [email protected], Nik Derewianka <[EMAIL PROTECTED]> wrote: > > I have run into the same issue. My RemoteObject calls are already set > to makeObjectsBindable so that doesn't seem to be the issue. > Basically, if i have a view that is already displaying the bound > object, then do a remoteobject call that replaces the existing bound > object with a new one, the bindings do not update. Which makes sense > as the replacement instance would not have the bindings of the current > model object set on it. Instead, I have resorted to copying the props > over to the existing model object so that the bindings and references > stay intact, using this script: > > > public class ObjUtil > { > import flash.utils.*; > public function ObjUtil() > { > } > > public static function CopyProps (source:*,destination:*):void{ > var def:XML = describeType(source); > var properties:XMLList = [EMAIL PROTECTED] + [EMAIL PROTECTED]; > for each (var property:String in properties ) { > destination[property] = source [property]; > } > } > > } > > And is used like this: > > ObjUtil.CopyProps(e.result,userModel.currentUser); > > It is not immensely robust and still feels like i am missing something > in regards to binding - but this works without a whole bunch of extra > typing for each and every property that needs to be updated. > > Regards, > Nik >

