Controling the Slider one way

Hi Every one

I developed a slider, Which can slide in both directions.

I have a requirement to restrict slider to move in one direction. Let say towards right only.

Who do we do this…

I have use the following code to develop the slider

on (press) {
this.startDrag(false, 6, 0, 105, 0);

}
on (release, releaseOutside) {
this.stopDrag();
}

Can any one help me on this development

Thanks

Thanigaivel.