Rotate and Slide relative to center point

Hello,

I am trying to make an object either rotate around a center when clicking an area, or slide along a bar if clicking second area. I can get it to rotate, but I am having trouble setting up the object to slide along the bar.

The tricky thing is that the bar is a dynamic line between the center point and 0-360 degrees, depending on where the object has been rotated to.

I’ve attached an .fla file, can anyone help? Clicking “degrees” rotates, while clicking “zone” would slide along the bar.