_x and _y position

hi, i have this

onClipEvent(enterFrame){

     speed=5;
     this._x+=2;          

}

i wanna know how do i stop the movie clip in a place?
heeeelllllPPPP
thanks

Use an if statement.

onClipEvent(enterFrame){
if(this._x<=value to stop){
this._x+=2;
}