How to copy an ArrayCollection by value
March 21, 2008
private var newCollection:ArrayCollection = new ArrayCollection();
for (var k:Number = 0; k < myCurrentCollection.length; k++) {
newCollection.addItem(mx.utils.ObjectUtil.copy(myCurrentCollection[k]));
}

Comments