Forgot basic If statement

Hi guys,

Been a while since i touched actionscript and forgot a simple If statement using _x.

THis is the code that I have.

onClipEvent(enterFrame) {
this._x = this._x +.5; 
}

Now when this._x reaches 400 pixels on the screen, I want it to return back to zero. How do I do that again?


If (this._x > this._x + 300){
this._x = 0;
}


I can’t seem to get it right. Any help will be appreciated, thanks:)