# Vertically Scrolling Menu/MC HELP PLEASE!

**URL:** https://forum.kirupa.com/t/vertically-scrolling-menu-mc-help-please/154293
**Category:** Uncategorized
**Created:** [July 8, 2005, 11:22am UTC](https://forum.kirupa.com/t/vertically-scrolling-menu-mc-help-please/154293 "2005-07-08T11:22:19Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![RickHoeye](https://avatars.discourse-cdn.com/v4/letter/r/d78d45/32.png) [@RickHoeye](https://forum.kirupa.com/u/RickHoeye)
#### Post date: [July 8, 2005, 11:22am UTC](https://forum.kirupa.com/t/vertically-scrolling-menu-mc-help-please/154293/1 "2005-07-08T11:22:19Z")

</div>

Can someone please tell me how to set the up and down boundaries for a vertically scrolling MC?

I have the up/down buttons working fine - the mc scrolls both ways vertically but doesn’t stop in either direction.

Here’s what I have for AS now:

up\_btn.onRelease = function(){  
buttons.\_y -=57;  
};

down\_btn.onRelease = function(){  
buttons.\_y +=57;  
};

Is it a onClipEvent that sets the top and bottom coordinates or is there anything I use within the button functions (above)?

If anyone has the entire actionscript I need it’d be GREATLY appreciated!!

Just as an FYI, there are 13 buttons, 55 px in height (2 px between them), with probably 5 showing at one time (masked). Need the menu to stop at the top most button and stop when scrolling to the bottom. I know this has got to be simple though…

HELP PLEASE!! thanks in advance!
