 import org.yellcorp.display.ViewDebugUtil;
 
 import flash.display.DisplayObject;
+import flash.display.DisplayObjectContainer;
 import flash.display.Graphics;
+import flash.display.InteractiveObject;
 import flash.display.Sprite;
 import flash.display.Stage;
 import flash.events.Event;

        var target:DisplayObject = event.target as DisplayObject;

        g.clear();
        caption.text = "";

        if (target)
        {
            canvas.visible = true;
            drawRectHeirarchy(canvas, target, caption);
        }
    }


        return t;
    }

    private static function createStrokeFilter():BitmapFilter
    {
        return new GlowFilter(0, 1, 2, 2, 4, 1);
    }

    private static function getDisplayName(target:DisplayObject):String
    {
        var displayName:String = getLeafName(getQualifiedClassName(target));
        if (target.parent)
        {
            displayName += "[" + target.parent.getChildIndex(target) + "]";
        }
        return displayName;
    }

    private static function getLeafName(className:String):String
