Collection.getLength()

Availability

Flash Player 7.

Edition

Flash MX Professional 2004.

Usage

collection.getLength()

Returns

The number of items in the collection.

Description

Method; returns the number of items in the collection.

Example

The following example calls getLength():

//...
var myColl:mx.utils.Collection;
myColl = _parent.thisShelf.MyCompactDiscs;
trace ("Collection size is: " + myColl.getLength());
//...