         // Hide the label before drawing the focus. 
         // TODO: Figure out a better solution.
         var hidLabelField:Boolean = false;
-        if ((focusObject is FxCheckBox || focusObject is FxRadioButton)
+        if ((weakIsCheck(focusObject, "mx.components::FxCheckBox") ||
+             weakIsCheck(focusObject, "mx.components::FxRadioButton"))
              && focusObject.labelField)
         {
             focusObject.labelField.displayObject.visible = false;

    //--------------------------------------------------------------------------
    
    // TODO: Make this a style property?
    private const FOCUS_THICKNESS:int = 2;
    
    //--------------------------------------------------------------------------
    //

        
        bitmap.bitmapData = bitmapData;
    }
    
    private static var classDefCache:Object = {};
    
    /**
     *  @private
     */
    private function weakIsCheck(obj:Object, className:String):Boolean
    {
        if (!(className in classDefCache))
        {            
            var classObj:Class = Class(systemManager.getDefinitionByName(className));
            
            classDefCache[className] = classObj;
        }
        
        if (!classDefCache[className])
            return false;
            
        return obj is classDefCache[className];
    }
}
}        
