         if (isNaN(angleFrom))
             if (!isNaN(angleTo) && !isNaN(angleBy))
                 angleFrom = angleTo - angleBy;
-            else if (propertyChanges && 
+            else if (propertyChanges &&
                 propertyChanges.start["rotation"] !== undefined)
                 angleFrom = propertyChanges.start["rotation"];
-        
+
         if (isNaN(angleTo))
         {
             if (isNaN(angleBy) &&

////////////////////////////////////////////////////////////////////////////////
//
//  ADOBE SYSTEMS INCORPORATED
//  Copyright 2008 Adobe Systems Incorporated

        // If somebody else has changed the rotation
        if (Math.abs(targetRotation - lastRotation) > 0.1)
        {
            var radValCurr:Number = Math.PI * target.rotation / 180;
            originalOffsetX = originX * Math.cos(radValCurr) -
                originY * Math.sin(radValCurr);
            originalOffsetY = originX * Math.sin(radValCurr) +
                originY * Math.cos(radValCurr);
        }

        // If somebody else has changed the position
        if (Math.abs(newX - targetX) > 0.1)
            centerX = targetX + originalOffsetX;
