List

Hi,
this is a realy quick 1,
I have a List (fl.controls.List) component…
I can successfully populate this component with String data.
The problem occurs when I try to unpopulate the list.
The only function available is “removeAll()” i couldnt see a different function.

I am using it this way



function removeFromList(e:MouseEvent):void
{
   if(list.selectedItem)
   {             
     list.removeAll();
   }

when ive been using list.removeSelected() i dont think there is a function as this?

please help