 import mx.core.UIComponent;
 import mx.core.mx_internal;
 import mx.events.FlexEvent;
+
+use namespace mx_internal;
 
 /**
  *  The ErrorSkin class defines the error skin for Spark components.

        bitmapData.draw(errorObject as IBitmapDrawable, m);
       
        // Show the focus skin, if needed.
        if (errorObject.mx_internal::focusObj)
            errorObject.mx_internal::focusObj.visible = true;
        
        // Show the label, if needed.
        if (hidLabelElement)

        var m:Matrix = new Matrix();
        
        // If the error object has a focus skin, make sure it is hidden.
        if (errorObject.focusObj)
            errorObject.focusObj.visible = false;
       
        // Temporary solution for error drawing on CheckBox and RadioButton components.
        // Hide the label before drawing the focus. 
