DataSet.removeItem
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
Usage 1:
var listenerObject:Object = new Object();
listenerObject.removeItem = function (eventObj:Object):Void {
// ...
};
dataSetInstance.addEventListener("removeItem", listenerObject);
Usage 2:
on (removeItem) {
// ...
}
Description
Event; generated just before a new item is deleted from this collection.
If you set the
result
you set it to
, the delete operation is allowed.
true
The event object (
eventObj
The DataSet object that generated the event.
target
The string
type
"removeItem"
A reference to the item in the collection to be removed.
item
A Boolean value that specifies whether the item should be removed. By default, this
result
value is
.
true
394
Components Dictionary
property of the event object to
) contains the following properties:
.
, the delete operation is canceled; if
false
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers