DataSet.getLength()

Availability

Flash Player 7.

Edition

Flash MX Professional 2004.

Usage

dataSetInstance.getLength()

Returns

The number of items in the data set.

Description

Method; returns the number of items in the data set.

Example

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