Hi Thiago

thank you so much for your reply an willingness to help on a subject I'm not 
getting any help on l.

Ok I had a look at your suggestion and have it as follows

private var gridData:ArrayCollection = new ArrayCollection();
var itemToRemove:int = item.label;

private function addTo():void { gridData.addItem({grid:"1",image:
"src/images/a1.jpg",map:"2"});  } 

private function removeFrom():void {   
for each(var a:Object in gridData) {
if(a.grid != itemToRemove){
      gridData.removeItemAt({index:a});
}
} 

}

this is giving me an error on the last line of code. using an object instead 
of an int.

thank you so much for your willingness to help.




-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-api-for-flash/-/Rfa4zqCoyPUJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en.

Reply via email to