List.removeAll()

Availability

Flash Player 6.0.79.

Edition

Flash MX 2004.

Usage

listInstance.removeAll()

Parameters

None.

Returns

Nothing.

Description

Method; removes all items in the list.

Calling this method modifies the data provider of the List component. If the data provider is shared with other components, those components will update as well.

Example

The following code clears the list:

myList.removeAll();