public var streamList:ArrayCollection=new ArrayCollection();
//am getting the streamList dynamically like WebUser7,WebUser11.....
private function streamSynch(event:SyncEvent):void
{
if(streamList.length>0){
//(streamList)here in streamList am getting the all values(old)
streamList.removeAll();
}
var results:Object = event.target.data;
for( var item:String in results ) {
streamArray.push(item);
}
streams = new ArrayCollection(streamArray);
streamList=streams; //(streamList)here in streamList am getting the all values(new) like Webuser9,WebUser2,WebUser11......
From my Example i need to add the Webuser9,WebUser2,WebUser11,WebUser7
}
我需要比较新旧,然后替换旧的并添加新的......