Method summary for the Collection interface
The following table lists the methods of the Collection interface.
Method
Collection.addItem()
Collection.contains()
Collection.clear()
Collection.getItemAt()
Collection.getIterator()
Collection.getLength()
Collection.isEmpty()
Collection.removeItem()
Collection.addItem()
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
collection.addItem(item)
Parameters
The object to be added to the collection. If
item
collection.
Returns
A Boolean value of
true
Description
Method; adds a new item to the end of the collection.
148
Collection interface (Flash Professional only)
Description
Adds a new item to the end of the collection.
Indicates whether the collection contains the specified
item.
Removes all elements from the collection.
Returns an item within the collection by using its index.
Returns an iterator over the elements in the collection.
Returns the number of items in the collection.
Indicates whether the collection is empty.
Removes the specified item from the collection.
if the collection was changed as a result of the operation.
is
, it is not added to the
item
null
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers