describeType in AS3

describeType in AS3

that’s beautiful.. so much better than typeof.. Though I might also add (if I may), if you want some extremely (almost stupid amount of) detailed info about your class type, you can also use describeType().. so var sprite:Sprite = new Sprite(); var spriteDescription:XML = describeType(sprite); trace (spriteDescription); traces: <type name=”flash.display::Sprite” base=”flash.display::DisplayObjectContainer” isDynamic=”false” isFinal=”false” isStatic=”false”> <extendsClass [...]