How do I set min and max positions for this scrollbar?

Hello,

I have two arrows that work as a scrollbar. When you rollover the top arrow, it scrolls up; bottom, it scrolls down. The problem I’m having is that the text continues to scroll as long as the arrow is selected. I’ve been told that I need to set min and max positions for the scrollbar, but I do not know the actionscript code for this. Can you help?

The code I’m using on my up button is:

onClipEvent (enterFrame) {
	if (scrolling) {
		_level0.player.menuRise.mc.playlist_mc.target_mc._y +=3;
}
}

The code I’m using on my down button is:

onClipEvent (enterFrame) {
	if (scrolling) {
		_level0.player.menuRise.mc.playlist_mc.target_mc._y -=3;
	}
}

THANKS!