Rotate on axis with mouse easing

I have a mc that I want to continously rotate, I want it to rotate in whatever direction the mouse is from the center of the mc. If the user pulls the mouse out I would like for it to speed up and slow down accordingly.

If this is not possible, I wouldnt cry.

Any way when the user goes over a desiginated area I would like for the motion to stop until they pull away again.

How would I go about doing this.

I’ve seen this thread but don’t understand where to attach the script, and I also need the stopping script.

Case

I got this going…

 function onEnterFrame() {
        star_1._rotation += (1)*(_xmouse-400)*0.01;
    }

Also I need some code for how to stop when someone rollsover a certain part of the mc.

It’s not easing but it looks good. Does anyone know what I should add for easing?

Case