I found an example, this was posted by Bjorn Schultheiss.
function clone(source:Object):*{ var myBA:ByteArray = new ByteArray(); myBA.writeObject(source); myBA.position = 0; return(myBA.readObject()); } Tracy ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Sent: Thursday, December 21, 2006 1:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Copy Object Hi all! Is there a way to copy the content of an object into another object without losing the reference of the second one? Thx!