|
The bytearray option is the best
function
clone(source:
var myBA:ByteArray = new ByteArray(); myBA.writeObject( myBA.position = 0; return(myBA. } This
will guarantee all nested Objects are not references.
slice() will copy the array but the objects within the array will remain
references.
Regards,
Bjorn
Schultheiss
Senior Flash
Developer
QDC
Technologies
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Sent: Thursday, 14 September 2006 6:09 AM To: [email protected] Subject: [flexcoders] Re: Clone / Copy Array Thanks for your reply, however, I've already seen that solution. What -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |

