DataProvider.removeAll()

Availability

Flash Player 6 (6.0.79.0).

Edition

Flash MX Professional 2004.

Usage

myDP.removeAll()

Parameters

None.

Returns

Nothing.

Description

Method; removes all items in the data provider. This method triggers the modelChanged event with the event name removeItems.

Example

This example removes all the items in the data provider:

myDP.removeAll();