I have to arrayCollections that I am assigning the same data to.

I am adding an item to one of the collections but that item is getting
set to both collections, wth??

code is here:

newTestGroup = event.result as ArrayCollection;
groups = event.result as ArrayCollection;                                       
        
var arr:Object = {testGroupId:0,testGroupName:"Show All",dsn_source:dsn};
groups.addItemAt(arr,0);

any help wold be appreciated..

one last thing. if I alter the newTestGroup collection, the same thing
happens to the groups collection.
-- 
http://indeegrumpee.spaces.live.com/

Reply via email to