[flexcoders] Re: Copying an Object

2008-04-24 Thread Lisa Lee
Awesome! That seems to be exactly what I was looking for. Thanks Peter - you rock! :-) --- In flexcoders@yahoogroups.com, Peter Connolly [EMAIL PROTECTED] wrote: Take a look at the copy() method in ObjectUtil: http://livedocs.adobe.com/flex/2/langref/mx/utils/ObjectUtil.html#copy ()

Re: [flexcoders] Re: Copying an Object

2008-04-24 Thread Peter Connolly
As an additional note, when using ObjectUtil.copy() with your own user-defined classes (i.e., not Object, ObjectProxy,...), you may have to use [RemoteClass] metadata or the registerClassAlias() method. The problem is that ...when an object is deserialized from AMF, it does not automatically get