Draggable slider on a curved path
I used the following example as a starting point: Slider to control timeline
However my slider needs to travel along a curved path. In my original version that wasn't interactive the slider simply animated along the path using a guide path.
So using the linear example above I can control the movie clip using a second slider, but obviously that is constrained to moving along the x axis only, and with a rising curved bath the controlling slider and the animated sliders diverge.
What is the best way to stop this from happening?
My initial thought was to make the controlling slider invisible and then when released it would snap to the position of the visible slider on the y axis, but I have zero idea of how to make this happen.
If there is a better way of doing this I'd be happy to use that, but please bear in mind that I know almost zero about javascript, so if I have to have to modify something existing I'll need it spelled out for me.
Thanks!
