Smothing mouse

Greetings,

Hi I am newbies in AS3 pls. help, I create a 3d like box rotate for my website. The problem is when i move my mouse the box is snappy, I want my box to be smooth when i move my mouse in and out. Below is the script.

stage.addEventListener(MouseEvent.MOUSE_MOVE,rotating);
function rotating(event:MouseEvent):void{
album.rotationX=mouseY-200;
album.rotationY=mouseX-106;

if(album.rotationX>190){
    album.rotationX=190;
}
if(album.rotationY>362){
    album.rotationY=363;
}
if(album.rotationX<160){
    album.rotationX=171;
}
if(album.rotationY<354){
    album.rotationY=355;
}
//trace("rotation    X " + album.rotationX);
//trace("mouse Y    " + (mouseY+10));
//trace("rotation Y    " + album.rotationY);
//trace("mouse X    " + (mouseX+10));

}

Thank you in advance