No loop required. Just create a new array collection with the source of the old array collection.
arrayColletion2 = new ArrayCollection(arrayCollection1.source); b.. ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of manfred.maierhofer Sent: Wednesday, April 18, 2007 11:30 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Call by value instead of Call by reference when copying ArrayCollection Hey guys, is there a way to "copy" an ArrayCollection instead of referencing it by ArrayCollection1 = ArrayCollection2;??? I can't believe that there is no way to do this, except cophying each value in a loop. Thanks, Mane *** The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this e-mail in error please notify the sender by return e-mail delete this e-mail and refrain from any disclosure or action based on the information. ***