Very obnoxious ~ quick fix for flashy hero?

This should be a simple answer-

Ive got a continuous vertical scrollbar that reacts to the vertical position of the mouse, but ide like that relationship to be limited to only the area of the scrollbar, and not the entire page. That way its not jumping all around whenever the mouse moves anywhere - very annoying… :expressionless:

Here is my current code:[INDENT][COLOR=SeaGreen] onClipEvent (load)[/COLOR]
[COLOR=SeaGreen]{[/COLOR]
[COLOR=SeaGreen] ycenter=370;[/COLOR]
[COLOR=SeaGreen] speed=1/35;[/COLOR]
[COLOR=SeaGreen]}[/COLOR]
[COLOR=SeaGreen]onClipEvent (enterFrame)[/COLOR]
[COLOR=SeaGreen]{[/COLOR]
[COLOR=SeaGreen] var distance=_root._ymouse-ycenter;[/COLOR]
[COLOR=SeaGreen] _y-=(distancespeed);[/COLOR]
[COLOR=SeaGreen]}[/COLOR]
[COLOR=SeaGreen] onClipEvent (enterFrame)[/COLOR]
[COLOR=SeaGreen]{[/COLOR]
[COLOR=SeaGreen] var distance=_root._ymouse-ycenter;[/COLOR]
[COLOR=SeaGreen] _y-=(distance
speed);[/COLOR]
[COLOR=SeaGreen] if (_y > 0) _y=-1160;[/COLOR]
[COLOR=SeaGreen] if (_y < -1160) _y=0;[/COLOR]
[COLOR=SeaGreen]}

[/COLOR][/INDENT]Im sure its something quite easy,
but im just not adept enough with flash to know what exactly…

Thanks for your help guys :slight_smile: