         
         // Use scaleX/scaleY to change our size since the new size is based
         // on our measured size, which can be different than our actual size.
-        mx_internal::scaleXDueToSizing = (newWidth / measuredWidth);
-        mx_internal::scaleYDueToSizing = (newHeight / measuredHeight);
-        mx_internal::$scaleX = scaleX*mx_internal::scaleXDueToSizing;
-        mx_internal::$scaleY = scaleY*mx_internal::scaleYDueToSizing;
+        scaleXDueToSizing = (newWidth / measuredWidth);
+        scaleYDueToSizing = (newHeight / measuredHeight);
+        $scaleX = scaleX*scaleXDueToSizing;
+        $scaleY = scaleY*scaleYDueToSizing;
         
         // need to apply this scale if using layout offsets
         invalidateTransform();

import mx.managers.ISystemManager;
import mx.managers.IToolTipManagerClient;
import mx.utils.MatrixUtil;

//--------------------------------------
//  Lifecycle events

        // Afterwards, we'll reset it to the "user-set" scale.
        var oldScaleX:Number = _layoutFeatures.layoutScaleX;
        var oldScaleY:Number = _layoutFeatures.layoutScaleY;
        _layoutFeatures.layoutScaleX = _layoutFeatures.layoutScaleX * scaleXDueToSizing;
        _layoutFeatures.layoutScaleY = _layoutFeatures.layoutScaleY * scaleYDueToSizing;
        
        if(_layoutFeatures.is3D)
        {
