I'm new for flex..
i like to know how to delete(clear) the existing list data values before binding the new values..
I'm using the list for binding data dynamically by using http services.if i send the another call mean's the exiting item should be flushed and coming data item's would be binded into the same list...
Thank's in advance....
On your ResultEvent method you can add something like this:
private function onResultEvent(event:ResultEvent) : void
yourBindableList = null;
yourBindableList = event.result as ArrayCollection();
In this code i send to my BindableList a null value before i setter to list the result of my HTTPService, making a cast to ArrayCollection.
if you are using arraycollection/XMLListCollection efficient way is to do this
or else use the above method