User Guide

DataSet component (Flash Professional only) 325
Edition
Flash MX Professional 2004.
Usage
dataSet.getIterator()
Returns
A ValueListIterator object.
Description
Method; returns a new iterator for this collection; this iterator is a clone of the current iterator in
use, including its current position in the collection. This method is mainly for advanced users
who want access to multiple, simultaneous views of the same collection.
Example
myIterator:ValueListIterator = myDataSet.getIterator();
myIterator.sortOn(["name"]);
myIterator.find({name:"John Smith"}).phone = "555-1212";
DataSet.getLength()
Availability
Flash Player 7.
Edition
Flash MX Professional 2004.
Usage
DataSet.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 myDSet:mx.data.components.DataSet;
myDSet = _parent.thisShelf.MyCompactDiscs;
trace ("Data set size is: " + myDSet.getLength());
//...
DataSet.hasNext()
Availability
Flash Player 7.