 
     private static const ZERO_REPLACEMENT_IN_3D:Number = .00000000000001;
     
-    private static var tempTransformCenter:Vector3D;
+    private static var tempLocalPosition:Vector3D;
     
     /**
      * @private

                        

    /**
     *  FIXME (chaase) : FLEXDOCS-1031
     * 
     *  A utility method to update the rotation and scale of the transform 
     * while keeping a particular point, specified in the component's 
     * own coordinate space, fixed in the parent's coordinate space.  
     * This function will assign the rotation and scale values provided, 
     * then update the x/y/z properties as necessary to keep tx/ty/tz fixed.
     * @param rx,ry,rz the new values for the rotation of the transform
     * @param sx,sy,sz the new values for the scale of the transform
     * @param tx,ty,tz the point, in the component's own coordinates, 
     * to keep fixed relative to its parent.
     * 
     *  @langversion 3.0
     *  @playerversion Flash 10

     *  @productversion Flex 4
     */
    public function transformPointToParent(propertyIs3D:Boolean,
        localPosition:Vector3D, position:Vector3D,
        postLayoutPosition:Vector3D):void
    {
        var transformedV:Vector3D;
        var transformedP:Point;
        tempLocalPosition = 
            localPosition ?
            localPosition :
            new Vector3D();
                
        if (is3D || propertyIs3D) 
        {
            if (position != null)
            {
                transformedV = transformVector(layoutMatrix3D, tempLocalPosition); 
                position.x = transformedV.x;
                position.y = transformedV.y;
                position.z = transformedV.z;
            } 
            
            if (postLayoutPosition != null)
            {           
                transformedV = transformVector(computedMatrix3D, tempLocalPosition);
                postLayoutPosition.x = transformedV.x;
                postLayoutPosition.y = transformedV.y;
                postLayoutPosition.z = transformedV.z;
            }
        }
        else
        {
            var localP:Point = new Point(tempLocalPosition.x, 
                tempLocalPosition.y);
            if (position != null)
            {
                transformedP = layoutMatrix.transformPoint(localP);
                position.x = transformedP.x;
                position.y = transformedP.y;
                position.z = 0;
            }
            
            if (postLayoutPosition != null)
            {
                transformedP = computedMatrix.transformPoint(localP);
                postLayoutPosition.x = transformedP.x;
                postLayoutPosition.y = transformedP.y;
                postLayoutPosition.z = 0;
            }
        }
    }
