# Smooth moving

**URL:** https://forum.kirupa.com/t/smooth-moving/112945
**Category:** Uncategorized
**Created:** [June 13, 2004, 12:25pm UTC](https://forum.kirupa.com/t/smooth-moving/112945 "2004-06-13T12:25:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cocoalex](https://avatars.discourse-cdn.com/v4/letter/c/ecc23a/32.png) [@cocoalex](https://forum.kirupa.com/u/cocoalex)
#### Post date: [June 13, 2004, 12:25pm UTC](https://forum.kirupa.com/t/smooth-moving/112945/1 "2004-06-13T12:25:11Z")

</div>

[http://cocoalex.home.ro](http://cocoalex.home.ro)

On this link I have three flash movies.  
What I want to obtain is a smooth move like in the first example, the one on top.

I made that using this code:

[color=#000087]onClipEvent/color { [color=#000087]this[/color].[color=#000087]\_x[/color] -= 2; [color=#000087]if[/color] ([color=#000087]this[/color].[color=#000087]\_x[/color] \<= -1870) { [color=#000087]this[/color].[color=#000087]\_x[/color] = 0; }}What I want from my MC is to make it move as in the second example.  
I want my MC to go from left to right, to stop for a few second and after that to go back to right.  
How can I do that? I don’t know how to continue my code. Thanks a lot!
