 
     private static function searchTypeChain(query:Object, prefix:String):String
     {
-        var supers:XMLList = describeType(query).extendsClass.(
+        var type:XML = describeType(query);
+
+        if (StringUtil.startsWith(type.@name, prefix))
+        {
+            return "";
+        }
+
+        var supers:XMLList = type.extendsClass.(
                 StringUtil.startsWith(@type, prefix));
 
         if (supers.length == 0)

                formatValues.name = current.name;

                formatValues['class'] = getQualifiedClassName(current);
                formatValues.nativeClass = searchTypeChain(current, "flash.");

                formatValues.x = current.x;
                formatValues.y = current.y;

    {
        maxDepthMessage = new Template("{index}[[Reached maximum depth of {maxDepth}]]\n");
        propertyMessage = new Template("{indent}{index} name:\"{name}\" " +
                "class:{class}{nativeClass} " +
                "pos:({x}, {y}) " +
                "scale:({scaleX}, {scaleY}) " +
                "rect:{rect}\n");
