Slider Bar in Lectora HELP!!!

I ended up finding simple coding to make the slider bar work within a set of parameters. I coded this on a separate layer named actions. The slider now goes back and for on the 68 y axis and it stops at the 64 left x axis and the 542 right x axis. Behind it is a slider track so it looks like it's moving along that track when I drag it with the mouse.


SliderHandle.onPress = function(){
startDrag(this, false, 64,68, 542, 68)
}


SliderHandle.onRelease = SliderHandle.onReleaseOutside = function(){
this.stopDrag()
}


 


I posted the sample file in my files list.

Discussions have been disabled for this post