Movement Using ActionScript

I’ve done the tutorial that makes the box move across the screen, but i need to know how to make it stop at a certain point on the stage, can anyone tell me the code for this?
This is the code I have so far:

target1_mc.onEnterFrame = function() {
this._x += 1;

Many thanks!