As stated above, you can call flash.utils.describeType () and use the "reflection" in your ActionScript object class to request the attributes, properties, methods of the object.
For example, the following code snippet for ObjectCodec.as seems to retrieve the alias attribute using "@":
override protected function encodeComplex(o:Object, b:IBinary, context:IContext=null):void { var desc:XML = describeType(o); var classAlias:String = desc.@alias ;
source share