Description
Method; indicates whether the collection is empty.
Example
The following example calls
on (click) {
var myColl:mx.utils.Collection;
myColl = _parent.thisShelf.MyCompactDiscs;
if (myColl.isEmpty()) {
trace("No CDs in the collection");
}
}
//...
Collection.removeItem()
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
collection.removeItem(item)
Parameters
The object to be removed from the collection.
item
Returns
A Boolean value of
true
Description
Method; removes the specified item from the collection. Because
dynamically reduces the size of the collection, do not call this method while looping through
an iterator.
154
Collection interface (Flash Professional only)
:
isEmpty()
if
was removed successfully.
item
Collection.removeItem()
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers