MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 291

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

Advertisement

Method
DataProvider.sortItems()
DataProvider.sortItemsBy()
Property summary for the DataProvider API
The following table lists the properties of the DataProvider API.
Property
DataProvider.length
Event summary for the DataProvider API
The following table lists the events of the DataProvider API.
Event
DataProvider.modelChanged
DataProvider.addItem()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myDP.addItem(item)
Parameters
An object that contains data. This constitutes an item in a data provider.
item
Returns
Nothing.
Description
Method; adds a new item at the end of the data provider. This method triggers the
event with the event name
Example
The following example adds an item to the end of the data provider
myDP.addItem({label : "this is an Item"});
Description
Sorts the items in the data provider according to a compare
function or sort options.
Sorts the items in the data provider alphabetically or numerically,
in the specified order, using the specified field name.
Description
The number of items in a data provider.
Description
Broadcast when the data provider is changed.
.
addItems
modelChanged
:
myDP
DataProvider API
291

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx

Table of Contents