 
     /**
      *  @private
+     *  Static point for use in transformPointToParent
+     */
+    private static var xformPt:Point;
+
+    /**
+     *  @private
      *  Initializes the implementation and storage of some of the less
      *  frequently used advanced layout features of a component.
      *  Call this function before attempting to use any of the
      *  features implemented by the AdvancedLayoutFeatures object.
      */
-    private function initAdvancedLayoutFeatures():AdvancedLayoutFeatures
+    private function initAdvancedLayoutFeatures():void
     {
         var features:AdvancedLayoutFeatures = new AdvancedLayoutFeatures();
 

import mx.graphics.shaderClasses.SoftLightShader;
import mx.managers.ILayoutManagerClient;
import mx.utils.MatrixUtil;
import mx.utils.TransformUtil;

import spark.components.ResizeMode;
import spark.utils.MaskUtil;

                                           position:Vector3D,
                                           postLayoutPosition:Vector3D):void
    {
        if (_layoutFeatures != null)
        {
            _layoutFeatures.transformPointToParent(true, localPosition,
                position, postLayoutPosition);
        }
        else
        {
            if (xformPt == null)
                xformPt = new Point();
            if (localPosition)
            {
                xformPt.x = localPosition.x;
                xformPt.y = localPosition.y;
            }
            else
            {
                xformPt.x = 0;
                xformPt.y = 0;
            }
            var tmp:Point = (transform.matrix != null) ?
                transform.matrix.transformPoint(xformPt) :
                xformPt;
            if (position != null)
            {
                position.x = tmp.x;
                position.y = tmp.y;
                position.z = 0;
            }
            if (postLayoutPosition != null)
            {
                postLayoutPosition.x = tmp.x;
                postLayoutPosition.y = tmp.y;
                postLayoutPosition.z = 0;
            }
        }
    }

    /**
