MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 297

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

Description
Method; removes all items in the data provider. This method triggers the
with the event name
Example
This example removes all the items in the data provider:
myDP.removeAll();
DataProvider.removeItemAt()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myDP.removeItemAt(index)
Parameters
A number greater than or equal to 0. This number is the index of the item to remove.
index
Returns
Nothing.
Description
Method; removes the item at the specified index. The indices after the removed index collapse
by one.
This method triggers the
Example
This example removes the item at the fourth position:
myDP.removeItemAt(3);
DataProvider.replaceItemAt()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myDP.replaceItemAt(index, item)
.
removeItems
event with the event name
modelChanged
event
modelChanged
.
removeItems
DataProvider API
297

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash mx

Table of Contents