> In my application I am using ArrayCollections to store data for series
> on a line chart. I need to be able to make a deep copy of these
> ArrayCollections so that I can make changes to the data in the copies
> without affecting the original data.

IIRC you can write the whole lot into a ByteArray, which serialises it as 
AMF in memory, and then read it back out again.  Classes in your array need 
[RemoteClass] in order to get correctly typed objects back. 

ie.
var ba:ByteArray = new ByteArray();
ba.writeObject(yourData);
var newCopy = ba.readObject(); 

Stephen

Reply via email to