Function details for the avm2.intrinsics.iteration package.
Public Functions
 FunctionDefined by
  
hasnext(obj:Object, idx:int):int
Determine whether the given object has any more properties.
avm2.intrinsics.iteration
  
Get the name of the next property.
avm2.intrinsics.iteration
  
nextvalue(obj:Object, idx:int):*
Get the value of the next property.
avm2.intrinsics.iteration
Function detail
hasnext()function
public function hasnext(obj:Object, idx:int):int

Language version: ActionScript 3.0
Runtime version: AIR 3.6

Determine whether the given object has any more properties.

Parameters
obj:Object — The object to test for properties.
 
idx:int — The previous property index (or zero to get the first property index).

Returns
int — Returns the next property index for this object, or zero if there are no more properties.
nextname()function 
public function nextname(obj:Object, idx:int):String

Language version: ActionScript 3.0
Runtime version: AIR 3.6

Get the name of the next property.

Parameters
obj:Object — The object for which to get a property name.
 
idx:int — The property index (as returned by hasnext).

Returns
String — Returns the property's name based on the provided index, or null if this is an invalid index.
nextvalue()function 
public function nextvalue(obj:Object, idx:int):*

Language version: ActionScript 3.0
Runtime version: AIR 3.6

Get the value of the next property.

Parameters
obj:Object — The object for which to get a property value.
 
idx:int — The property index (as returned by hasnext).

Returns
* — Returns the property's value based on the provided index, or undefined if this is an invalid index.