Whats the problem?

Hi

Im trying to get this an object to go from position A to B and back, in infinity!!I only get the object to go from A to be B and then it stops. The code is in the MovieClip actions.

Here is the code…

onClipEvent (enterFrame) {

this.onEnterFrame=goRight;
goRight=function()
{
if (this._y<250) this._y+=1;
else this.goLeft;
}
goLeft=function()
{
if (this._y>50) this._y-=1;
else this.goRight;
}
}

:mario: