ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
mx.utils 

OrderedObject  - AS3 Flex

Packagemx.utils
Classpublic dynamic class OrderedObject
InheritanceOrderedObject Inheritance Proxy

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

OrderedObject acts as a wrapper to Object to preserve the ordering of the properties as they are added.



Protected Properties
 PropertyDefined By
  propertyList : Array
Contains a list of all of the property names for the proxied object.
OrderedObject
Public Methods
 MethodDefined By
  
OrderedObject(item:Object = null)
Constructor.
OrderedObject
Protected Methods
 MethodDefined By
  
callProperty(name:*, ... rest):*
[override] Returns the value of the proxied object's method with the specified name.
OrderedObject
  
[override] Deletes the specified property on the proxied object.
OrderedObject
  
[override] Returns the specified property value of the proxied object.
OrderedObject
  
[override] This is an internal function that must be implemented by a subclass of flash.utils.Proxy.
OrderedObject
  
[override] This is an internal function that must be implemented by a subclass of flash.utils.Proxy.
OrderedObject
  
[override] This is an internal function that must be implemented by a subclass of flash.utils.Proxy.
OrderedObject
  
nextValue(index:int):*
[override] This is an internal function that must be implemented by a subclass of flash.utils.Proxy.
OrderedObject
  
setProperty(name:*, value:*):void
[override] Updates the specified property on the proxied object.
OrderedObject
Property Detail

propertyList

property
object_proxy var propertyList:Array

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Contains a list of all of the property names for the proxied object.

Constructor Detail

OrderedObject

()Constructor
public function OrderedObject(item:Object = null)

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Constructor.

Parameters
item:Object (default = null) — An Object containing name/value pairs.
Method Detail

callProperty

()method
override flash_proxy function callProperty(name:*, ... rest):*

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Returns the value of the proxied object's method with the specified name.

Parameters

name:* — The name of the method being invoked.
 
... rest — An array specifying the arguments to the called method.

Returns
* — The return value of the called method.

deleteProperty

()method 
override flash_proxy function deleteProperty(name:*):Boolean

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Deletes the specified property on the proxied object.

Parameters

name:* — Typically a string containing the name of the property, or possibly a QName where the property name is found by inspecting the localName property.

Returns
Boolean — A Boolean indicating if the property was deleted.

getProperty

()method 
override flash_proxy function getProperty(name:*):*

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Returns the specified property value of the proxied object.

Parameters

name:* — Typically a string containing the name of the property, or possibly a QName where the property name is found by inspecting the localName property.

Returns
* — The value of the property.

hasProperty

()method 
override flash_proxy function hasProperty(name:*):Boolean

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

This is an internal function that must be implemented by a subclass of flash.utils.Proxy.

Parameters

name:* — The property name that should be tested for existence.

Returns
Boolean — If the property exists, true; otherwise false.

Related API Elements

flash.utils.Proxy.hasProperty()

nextName

()method 
override flash_proxy function nextName(index:int):String

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

This is an internal function that must be implemented by a subclass of flash.utils.Proxy.

Parameters

index:int — The zero-based index value of the object's property.

Returns
String — The property's name.

Related API Elements

flash.utils.Proxy.nextName()

nextNameIndex

()method 
override flash_proxy function nextNameIndex(index:int):int

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

This is an internal function that must be implemented by a subclass of flash.utils.Proxy.

Parameters

index:int

Returns
int

Related API Elements

flash.utils.Proxy.nextNameIndex()

nextValue

()method 
override flash_proxy function nextValue(index:int):*

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

This is an internal function that must be implemented by a subclass of flash.utils.Proxy.

Parameters

index:int — The zero-based index value of the object's property.

Returns
* — The property's value.

Related API Elements

flash.utils.Proxy.nextValue()

setProperty

()method 
override flash_proxy function setProperty(name:*, value:*):void

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Updates the specified property on the proxied object.

Parameters

name:* — Object containing the name of the property that should be updated on the proxied object.
 
value:* — Value that should be set on the proxied object.