 import mx.core.IVisualElementContainer;
 import mx.core.mx_internal;
 import mx.managers.ILayoutManagerClient;
+
+use namespace mx_internal;
 
 [DefaultProperty("content")]
 

            if (!scaleContentWhenResized)
            {
                // apply inverse of the scale
                contentHolderObj.scaleX = 1/mx_internal::scaleXDueToSizing;
                contentHolderObj.scaleY = 1/mx_internal::scaleYDueToSizing;
            }
            else
            {

        // take the contentHolderObj into account at all
        if (contentHolderObj)
        {
            var oldScaleX:Number = contentHolderObj.$scaleX;
            var oldScaleY:Number = contentHolderObj.$scaleY;
            
            contentHolderObj.$scaleX = 0.001;
            contentHolderObj.$scaleY = 0.001;
        }
        
        var bounds:Rectangle = getBounds(this);
        
        if (contentHolderObj)
        {
            contentHolderObj.$scaleX = oldScaleX;
            contentHolderObj.$scaleY = oldScaleY;
        }
        
        return bounds;
