ny1 pls help me with this…
am trying to create a vertical scroll full screen navigation bar using the following script on the timeline…
stop();
var endPt = theMC._totalframes - 1;
var maxX = Stage.height;
var mouseListener = new Object();
mouseListener.onMouseMove = function() {
var val = Math.round((_ymouse * endPt) / maxX) + 1;
theMC.gotoAndStop(val);
};
Mouse.addListener(mouseListener);
its working fine but the object movement dose not seem to right…! how can i make the scrolling much smoother possibly with an ease in ease out effect… is it also possible if i can confine the scroll only when the cursor hovers around the navigation area…say only when the cursor is inside the left 300pix.
thks in advance.