Iterator interface

ActionScript Class Name mx.utils.Iterator

The Iterator interface lets you step through the objects that a collection contains.

NOTE

 

The Iterator interface is supported only if you are working in a document that specifies ActionScript 2.0 in its Publish Settings.

Method summary for the Iterator interface

The following table lists the methods of the Iterator interface.

Method

Description

Iterator.hasNext()

Indicates whether the iterator has more items.

Iterator.next()

Returns the next item in the iteration.


Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00003143.html