Packageavmplus
Classpublic class DescribeTypeJSON
InheritanceDescribeTypeJSON Inheritance Object

Makes the hidden, unofficial function describeTypeJSON available outside of the avmplus package. As Adobe doen't officially support this method and it is only visible to client code by accident, it should only ever be used with runtime-detection and automatic fallback on describeType.

See also

http://www.tillschneidereit.de/2009/11/22/improved-reflection-support-in-flash-player-10-1/


Public Properties
 PropertyDefined By
  available : Boolean
[static]
DescribeTypeJSON
Public Methods
 MethodDefined By
  
DescribeTypeJSON
  
describeType(target:Object, flags:uint):Object
DescribeTypeJSON
  
[static]
DescribeTypeJSON
  
getClassDescription(type:Class):Object
DescribeTypeJSON
  
getInstanceDescription(type:Object):Object
DescribeTypeJSON
  
run(obj:Object):Object
[static]
DescribeTypeJSON
Public Constants
 ConstantDefined By
  CLASS_FLAGS : uint
[static]
DescribeTypeJSON
  INSTANCE_FLAGS : uint
[static]
DescribeTypeJSON
Property Detail
availableproperty
public static var available:Boolean

Constructor Detail
DescribeTypeJSON()Constructor
public function DescribeTypeJSON()



Method Detail
describeType()method
public function describeType(target:Object, flags:uint):Object

Parameters

target:Object
 
flags:uint

Returns
Object
get()method 
public static function get():DescribeTypeJSON

Returns
DescribeTypeJSON
getClassDescription()method 
public function getClassDescription(type:Class):Object

Parameters

type:Class

Returns
Object
getInstanceDescription()method 
public function getInstanceDescription(type:Object):Object

Parameters

type:Object

Returns
Object
run()method 
public static function run(obj:Object):Object

Parameters

obj:Object

Returns
Object
Constant Detail
CLASS_FLAGSConstant
public static const CLASS_FLAGS:uint

INSTANCE_FLAGSConstant 
public static const INSTANCE_FLAGS:uint