Sliders as navigation tool


Theres a slider code featured in one of the tutorials on this website which makes the animation increase in size as the slider moves up. Here’s the link: (I’ve eliminated the volume control).

I wanted to know if it’s possible to make it into a navigation tool where the user can navigate by pushing the sliders up to the top (once the sliders slide to the top, the page changes)???

Here’s the 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);
_root.volume = ratio;

dragger.onRelease = dragger.onreleaseOutside=stopDrag;