Flash number slider 8-15

hi flash beginner here.

ive set up a number slider, but i need it to run from 8-15 as appossed from 1-100. i followed the tutorial on here, and altered the code to get it from one to eight.

here is the original code.

the slider and rail were placed in a movie clip with the instance name mySlider, within there there is a layer with this code:

this.ratio=0 ;
dragger.onPress=function(){
this.startDrag(true,0,0,line._width,0);
this.onEnterFrame=function(){
ratio=Math.round(this._x*100/line._width) ;
}
}
dragger.onRelease=dragger.onReleaseOutside=stopDrag;

then on the main timeline on a seperate layer there is this code:

this.onEnterFrame=function(){
ratio.text=mySlider.ratio;
}

i just want it to scroll from 8 to 15

thanks :slight_smile: