I can't stop this ball !1

  MovieClip.prototype.track = function() {
 this.onPress = function() {
  this.onEnterFrame = function() {
   if (this._currentframe != 1) {
	this.stop();
   } else if (this._currentframe == 1) {
	this._x += 5;
   }
  };
 };
};
_root.ball.track();