Public Constants
 ConstantDefined 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
Constant Detail
getClassByNameConstant
public const getClassByName:Function

Returns 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.

getClassMethodsConstant 
public const getClassMethods:Function

Returns an array of public methods defined in the class of an object.

getClassNameConstant 
public const getClassName:Function

Returns the string class name of an object.

getClassPackageConstant 
public const getClassPackage:Function

Returns the package string representation of the specified instance.

getClassPathConstant 
public const getClassPath:Function

Returns the full path string representation of the specified instance.

getDefinitionByNameConstant 
public const getDefinitionByName:Function

Returns the instance of a public definition in the ApplicationDomain.

The definition can be a class, namespace, function or object.

hasClassByNameConstant 
public const hasClassByName:Function

Returns a boolean telling if the class exists from a string name.

hasDefinitionByNameConstant 
public const hasDefinitionByName:Function

Tests if a public definition exists in the ApplicationDomain.

The definition can be a class, namespace, function or object.

invokeConstant 
public const invoke:Function

Invokes 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 ) ) ;