Movement Using ActionScript - Stop on an x point?

Hi everyone,

I was using this tutorial

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!