ActionScript 2.0 Components Language Reference |
|
|
|
| Collection interface > Collection.getLength() | |||
Flash Player 7.
Flash MX Professional 2004.
collection.getLength()
The number of items in the collection.
Method; returns the number of items in the collection.
The following example calls getLength():
//...
var myColl:mx.utils.Collection;
myColl = _parent.thisShelf.MyCompactDiscs;
trace ("Collection size is: " + myColl.getLength());
//...
|
|
|
|