| Constant | Defined By | ||
|---|---|---|---|
| getClassByName : Function
Returns the class reference from a string class name. | core.reflect | ||
| getClassMethods : Function
Returns an array of public methods defined in the class of an object. | core.reflect | ||
| getClassName : Function
Returns the string class name of an object. | core.reflect | ||
| getClassPackage : Function
Returns the package string representation of the specified instance. | core.reflect | ||
| getClassPath : Function
Returns the full path string representation of the specified instance. | core.reflect | ||
| getDefinitionByName : Function
Returns the instance of a public definition in the ApplicationDomain. | core.reflect | ||
| hasClassByName : Function
Returns a boolean telling if the class exists from a string name. | core.reflect | ||
| hasDefinitionByName : Function
Tests if a public definition exists in the ApplicationDomain. | core.reflect | ||
| invoke : Function
Invokes dynamically a class constructor. | core.reflect | ||
| getClassByName | Constant |
public const getClassByName:FunctionReturns the class reference from a string class name.
The string name notation can be either "flash.system::Capabilities" or "flash.system.Capabilities", but you have to provide the full qualified path of the class, "Capabilities" alone will not work.
| getClassMethods | Constant |
public const getClassMethods:FunctionReturns an array of public methods defined in the class of an object.
| getClassName | Constant |
public const getClassName:FunctionReturns the string class name of an object.
| getClassPackage | Constant |
public const getClassPackage:FunctionReturns the package string representation of the specified instance.
| getClassPath | Constant |
public const getClassPath:FunctionReturns the full path string representation of the specified instance.
| getDefinitionByName | Constant |
public const getDefinitionByName:Function
Returns the instance of a public definition in the ApplicationDomain.
The definition can be a class, namespace, function or object.
| hasClassByName | Constant |
public const hasClassByName:FunctionReturns a boolean telling if the class exists from a string name.
| hasDefinitionByName | Constant |
public const hasDefinitionByName:Function
Tests if a public definition exists in the ApplicationDomain.
The definition can be a class, namespace, function or object.
| invoke | Constant |
public const invoke:FunctionInvokes dynamically a class constructor.
Example :
import core.dump ;
import core.reflect.invoke ;
var ar:Array = invoke( Array , [1,2,3]) as Array ;
trace( dump( ar ) ) ;