How to put multiple selected items of a list to an array?

Hello,

I tried to use a List to do something. I know how to add items to the list. Here’s my codes:

import fl.controls.List;
import fl.events.ListEvent;

//Add Items to List
myList.addItem( {label: “Item 1” } );
myList.addItem( {label: “Item 2” } );
myList.addItem( {label: “item 3” } );
myList.addItem( {label: "Item 4 } );
myList.addItem( {label: “Item 5” } );

myList.allowMultipleSelection = true;

The list allow users to select multiple items. My question is:

When a user select multiple items (e.g. Item 1, Item 3 and Item 4). How can I put the selected items into an Array for further manipulation.

P.S. I know how to put the selected items into another list. However this is not what I want.

Thanks and best regards

Alex