# X-axis movement and stop

**URL:** <https://forum.kirupa.com/t/x-axis-movement-and-stop/190511>\
**Category:** Uncategorized\
**Created:** [June 12, 2006, 2:40pm UTC](https://forum.kirupa.com/t/x-axis-movement-and-stop/190511 "2006-06-12T14:40:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![robster16](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@robster16](https://forum.kirupa.com/u/robster16)\
**Post date:** [June 12, 2006, 2:40pm UTC](https://forum.kirupa.com/t/x-axis-movement-and-stop/190511/1 "2006-06-12T14:40:20Z")

</div>

Hi there,

I’m working on a website and I have a movieclip that I want to move, but it would be easier to have actionscript control the movement. I need it to slide up along the y-axis for a certain amount of pixels and then stop, preferably even being able to set how long it’ll take to go from point a to point b. does anyone know the script for this?

Thanks a lot!

ROB
