      *  @private
      *  Called when this component resizes. Adjust the focus rect.
      */
-    private function focusObj_resizeHandler(event:ResizeEvent):void
-    {
-        adjustFocusRect();
+    private function focusObj_resizeHandler(event:Event):void
+    {
+        if (event is ResizeEvent)
+            adjustFocusRect();
     }
 
     /**


            var focusClass:Class = getStyle("focusSkin");

            if (focusObj && !(focusObj is focusClass))
            {
                focusPane.removeChild(focusObj);
                focusObj = null;
            }
            
            if (!focusClass)
                return;

            if (!focusObj)
            {

    [Inspectable(defaultValue="true")]

    /**
     *  A flag that indicates whether this object can receive focus
     *  via the TAB key
     * 
     *  <p>This is similar to the <code>tabEnabled</code> property
     *  used by the Flash Player.</p>
