# Simple question

**URL:** https://forum.kirupa.com/t/simple-question/64150
**Category:** Uncategorized
**Created:** [September 13, 2004, 6:06pm UTC](https://forum.kirupa.com/t/simple-question/64150 "2004-09-13T18:06:40Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![themachine37](https://avatars.discourse-cdn.com/v4/letter/t/a4c791/32.png) [@themachine37](https://forum.kirupa.com/u/themachine37)
#### Post date: [September 13, 2004, 6:06pm UTC](https://forum.kirupa.com/t/simple-question/64150/1 "2004-09-13T18:06:40Z")

</div>

Ok this is probably insanly simple for you guys but here is the question  
[http://www.gomanheim.com/zach/workman/test4/indexnewgalleryflash.htm](http://www.gomanheim.com/zach/workman/test4/indexnewgalleryflash.htm)

that is a site i am making for a client. currently when you click on the arrows the mc containing the thumbnails moves 60 pixels to the left or the right  
my current code looks like this

```auto
on (press) {
	thumb._x = thumb._x + 60;	
}

```

thumb is the name of the movie clip  
as you can see it is a rather choppy movement and as long as you keep pressing the buttons it will continue in each direction infinitly

i would like the animation to be smooth so that when you press the button and hold it in, the mc slides across the screen. and i would like to be able to have it stop when it reaches the end of the mc

can you help me?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 14, 2004, 4:53am UTC](https://forum.kirupa.com/t/simple-question/64150/2 "2004-09-14T04:53:04Z")

</div>

nevermind i figured it out myself
