# List

**URL:** <https://forum.kirupa.com/t/list/314322>\
**Category:** Uncategorized\
**Created:** [September 24, 2010, 4:41pm UTC](https://forum.kirupa.com/t/list/314322 "2010-09-24T16:41:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![surf](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@surf](https://forum.kirupa.com/u/surf)\
**Post date:** [September 24, 2010, 4:41pm UTC](https://forum.kirupa.com/t/list/314322/1 "2010-09-24T16:41:16Z")

</div>

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

```auto

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
