ArrayCollection.setItemAt is doing some funny things
I am trying to swap two items in an ArrayCollection with this code. private function swapCollectionElements(collection:ArrayCollection, fromIndex:uint, toIndex:uint) : void { var curItem:Object = collection.getItemAt(fromIndex); var swapItem:Object = collection.getItemAt(toIndex); collection.setItemAt(curItem, toIndex); ...