# Thumbnail menu question

**URL:** https://forum.kirupa.com/t/thumbnail-menu-question/218206
**Category:** Uncategorized
**Created:** [March 5, 2007, 10:02pm UTC](https://forum.kirupa.com/t/thumbnail-menu-question/218206 "2007-03-05T22:02:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![htrain26](https://avatars.discourse-cdn.com/v4/letter/h/d07c76/32.png) [@htrain26](https://forum.kirupa.com/u/htrain26)
#### Post date: [March 5, 2007, 10:02pm UTC](https://forum.kirupa.com/t/thumbnail-menu-question/218206/1 "2007-03-05T22:02:30Z")

</div>

I have a gallery with a menu that is a row of  
thumbnails (horizontal–right to left). And a button  
on each side of the tumbnail menu—and of course when  
you click on the right button the menu scrolls to the  
right and vise-versa for the left button. The code I  
have on the buttons is pretty basic:

right\_btn.onRelease = function(){  
menu\_01.\_x -= 20;  
}

I trying to set-up the menu so that when you click on one on the buttons  
the menu slides over so many pixels and eases out. And I also need the  
buttons to know when the menu mc has reached its end(say the menu is only 400  
pixels wide). I’ve tried a few different things with no luck.

Any idea’s or direction to a tutorial???

I would really any help.

thanks,  
hutch
