Packagesystem.data
Classpublic dynamic class ProxyReference
InheritanceProxyReference Inheritance flash.utils.Proxy

A proxy reference is a reference that redirect all methods, properties, etc. over the internal target reference (value).



Public Properties
 PropertyDefined By
  value : *
The target value of the proxy reference.
ProxyReference
Public Methods
 MethodDefined By
  
ProxyReference(value:* = null)
Creates a new ProxyReference instance.
ProxyReference
Protected Methods
 MethodDefined By
  
callProperty(name:*, ... rest):*
[override] Overrides the behavior of an object property that can be called as a function.
ProxyReference
  
deleteProperty(name:*):Boolean
[override] Overrides the request to delete a property.
ProxyReference
  
getDescendants(name:*):*
[override] Overrides the use of the descendant operator.
ProxyReference
  
getProperty(name:*):*
[override] Overrides any request for a property's value.
ProxyReference
  
hasProperty(name:*):Boolean
[override] Overrides a request to check whether an object has a particular property by name.
ProxyReference
  
setProperty(name:*, value:*):void
[override] Overrides a call to change a property's value.
ProxyReference
Property Detail
valueproperty
value:*

The target value of the proxy reference.


Implementation
    public function get value():*
    public function set value(value:any):void
Constructor Detail
ProxyReference()Constructor
public function ProxyReference(value:* = null)

Creates a new ProxyReference instance.

Parameters
value:* (default = null) — The target value of the proxy reference.
Method Detail
callProperty()method
override flash_proxy function callProperty(name:*, ... rest):*

Overrides the behavior of an object property that can be called as a function. When a method of the object is invoked, this method is called. While some objects can be called as functions, some object properties can also be called as functions.

Parameters

name:*
 
... rest

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

Overrides the request to delete a property. When a property is deleted with the delete operator, this method is called to perform the deletion.

Parameters

name:* — The name of the property to delete.

Returns
Boolean
getDescendants()method 
override flash_proxy function getDescendants(name:*):*

Overrides the use of the descendant operator. When the descendant operator is used, this method is invoked.

Parameters

name:* — The name of the property to descend into the object and search for.

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

Overrides any request for a property's value. If the property can't be found, the method returns undefined. For more information on this behavior, see the ECMA-262 Language Specification, 3rd Edition.

Parameters

name:*

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

Overrides a request to check whether an object has a particular property by name.

Parameters

name:* — The name of the property to check for.

Returns
Boolean — If the property exists, true; otherwise false.
setProperty()method 
override flash_proxy function setProperty(name:*, value:*):void

Overrides a call to change a property's value. If the property can't be found, this method creates a property with the specified name and value.

Parameters

name:* — The name of the property to modify.
 
value:* — The value to set the property to.