Flash CS3 Documentation |
|||
| ActionScript 2.0 Components Language Reference > DataSet component > DataSet.getLength() | |||
Flash Player 7.
Flash MX Professional 2004.
dataSetInstance.getLength()
The number of items in the data set.
Method; returns the number of items in the data set.
The following example calls getLength():
//...
var my_ds:mx.data.components.DataSet;
my_ds = _parent.thisShelf.compactDiscs_ds;
trace ("Data set size is: " + my_ds.getLength());
//...
Flash CS3