# Mouse over button - yspeed variable

**URL:** https://forum.kirupa.com/t/mouse-over-button-yspeed-variable/156643
**Category:** flash
**Created:** [July 27, 2005, 6:24am UTC](https://forum.kirupa.com/t/mouse-over-button-yspeed-variable/156643 "2005-07-27T06:24:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![chockybickyman](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@chockybickyman](https://forum.kirupa.com/u/chockybickyman)
#### Post date: [July 27, 2005, 6:24am UTC](https://forum.kirupa.com/t/mouse-over-button-yspeed-variable/156643/1 "2005-07-27T06:24:31Z")

</div>

I have a simple request here im sure,

I have a rather series of thumbnails **(thumbnails\_MC)** running vertically across the screen with a mask over that to reveal just one of these thumbnails at a time. I want the button at the top of the mask to scroll the thumbnail\_MC movie clip up and the button at the bottom of the mask to scroll the thumbnail\_MC down.

What kind of actionscript would i use to get this result. Also would be good if i could work out some kind of constraint script so when the thumbnail\_MC gets to the last thumbnail image in the movie to stop scrolling.

Also i am looking if everything goes to plan to get a ease script on the button so that the scroll ends in an ease rather than a sudden stop.

If anyone can help that would be great!!!  
Cheers  
Peter.D
