line 569: var dy:Number = PivotY+Y; //Y axis is inverted in flash, normally this would be a subtract operation should clearly be subtract operation (err.. maybe normality changed recently?) change to: var dy:Number = PivotY-Y;