Function details for the avm2.intrinsics.iteration package.
Public Functions
| Function | Defined by |
| |
Determine whether the given object has any more properties.
| avm2.intrinsics.iteration |
| |
Get the name of the next property.
| avm2.intrinsics.iteration |
| |
Get the value of the next property.
| avm2.intrinsics.iteration |
public function hasnext(obj:Object, idx:int):int
Language version: | ActionScript 3.0
|
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.
|
public function nextname(obj:Object, idx:int):String
Language version: | ActionScript 3.0
|
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.
|
public function nextvalue(obj:Object, idx:int):*
Language version: | ActionScript 3.0
|
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.
|
© 2004-2022 Adobe Systems Incorporated. All rights reserved.
Mon Jun 30 2025, 11:00 AM GMT+01:00