Smooth moving

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!