This code wont work!

I am telling the truth this code wont work.

I got this of Macromedia.com and it wont work.

newBall.prototype.moveBall = function () { 
   this.MovieClip._x += this.deltaX;
   this.MovieClip._y += this.deltaY;
   //check if ball hits top of screen
   if (this.MovieClip._y<0) {
     this.flipY();
   }
   if (this.MovieClip._x<GamePlayArea[0] || this.MovieClip._
x>GamePlayArea[2]) {
     this.flipX();
   }
}
   if (this.MovieClip._x<GamePlayArea[0] || this.MovieClip._
x>GamePlayArea[2]) {
     this.flipX();
   }

It will not work!!! I also did set the GamePlayArea
SOMEONE PLEASE HELP ME!!Please

Still No One Knows How To Fix This Code

have you set the values for deltaX, deltaY, flipY and flipX?

How do i set it.

Also what I mean when I say the code dont work an Error Box Comes up.

But could you tell me how to set the vlaues for thjose deltas and stuff.

the code seems syntatically correct, even tested it in flash. do you actually have an object defined called “newBall”?