Movement Using ActionScript - Stop on an x point?

Hi everyone,

I was using this tutorial

http://www.kirupa.com/developer/mx/ASmovement.htm

Which is awesome, but i would like to stop the movement on a certain x point. I’m a real noob and am not sure how to do it.

Could someone please post the script I would need? Thanks!