Good afternoon,

I am trying to rotate an object, but it only rotates a little bit with every mouse click. I would like the rotation to be continuous while I drag the mouse until I reach the desire position. I tried to use mouse_move event, but it will not allow me to grab the elements as they keep moving.
I am new using as3 any help is appreciated. This is what I am trying to use:

var rotationSpeed:int = 0;
var rotationValue:int = 0;

stage.addEventListener(MouseEvent.CLICK, clickStage);
function clickStage(event:MouseEvent):void
{
event.target.rotation +=10;
}