removeItems
updateItems
The data has been sorted.
sort
updateField
updateColumn
filterModel
position).
schemaLoaded
•
firstItem
•
The index of the last affected item. The value equals
lastItem
affected.
•
removedIDs
•
fieldName
For more information, see
Example
In the following example, a handler called
addEventListener()
handler in the
modelChanged
statement is sent to the Output panel.
trace
listener = new Object();
listener.modelChanged = function(evt){
trace(evt.eventName);
}
myList.addEventListener("modelChanged", listener);
DataProvider.removeAll()
Availability
Flash Player 6 (6.0 79.0).
Edition
Flash MX Professional 2004.
Usage
myDP.removeAll()
Parameters
None.
Returns
Nothing.
296
Chapter 6: Components Dictionary
A series of items has been deleted.
A series of items needs refreshing.
A field in an item must be changed and needs refreshing.
An entire field's definition in the data provider needs refreshing.
The model has been filtered, and the view needs refreshing (reset the scroll
The field's definition of the data provider has been declared.
The index of the first affected item.
An array of the item identifiers that were removed.
A string indicating the name of the field that is affected.
"EventDispatcher class" on page
as the second parameter. The event object is captured by the
parameter. When the
evt
415.
is defined and passed to
listener
modelChanged
if only one item is
firstItem
event is broadcast, a
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?