He resuelto esto dejo el ejemplo de descarga .fla
http://www.mediafire.com/download/is3w3a3q6412sve/360.rar y este es el codigo que he utilizado:
Código ActionScript :
stage.addEventListener(MouseEvent.MOUSE_DOWN, mDown);
stage.addEventListener(MouseEvent.MOUSE_UP, mUp);
var prevMouseX:int;
function mDown(event:MouseEvent):void {
prevMouseX = stage.mouseX;
this.addEventListener(Event.ENTER_FRAME,mMove);
}
function mUp(event:MouseEvent):void {
this.removeEventListener(Event.ENTER_FRAME,mMove);
}
function mMove(event:Event):void {
var activeMouseX = stage.mouseX;
if (activeMouseX > prevMouseX){
if(currentFrame == 1){
gotoAndStop(totalFrames);
} else {
prevFrame()
}
}
if (activeMouseX < prevMouseX){
if(currentFrame == totalFrames) {
gotoAndStop(1);
} else {
nextFrame()
}
}
prevMouseX = stage.mouseX;
}