Código ActionScript :
import flash.display.StageScaleMode; stage.scaleMode = StageScaleMode.NO_SCALE; .... function moveScrollerThumbs(e:Event):void { if ( mouseY > scroller.y && mouseY < scroller.y + scroller.height) {//vertically over scroller if (mouseX < stage.stageWidth/2 - padding*2 && mouseX > 0) {//left of stage explicitly speed = -(mouseX - (stage.stageWidth/2 - padding*2)) / 8; } else if (mouseX > stage.stageWidth/2 + padding*2 && mouseX < stage.stageWidth) {//right of stage explicitly speed = -(mouseX - (stage.stageWidth/2 + padding*2)) / 8; } else { speed = 0; } scroller.x += speed; //scroller limits if (scroller.x < -scroller.width + stage.stageWidth - padding) { //if scrolled too far left scroller.x = -scroller.width + stage.stageWidth - padding; } else if (scroller.x > padding) { //if scrolled to far right scroller.x = padding; } } }
Sospecho que tiene que ver con scroller.x < -scroller.width + stage.stageWidth - padding donde padding es 20px.
Alguna ayuda o pista por favor
Muchas gracias