Computer AI: Query (MX2004 issue)?

I have created the AI for a computer generated paddle in my pong game, i had the AI working earlier till i started adding graphics and more complex animations etc…

What the AI is now doing, is half working. The paddle will only follow the ball to the bottom of screen (Negative value???). Then as soon as the paddle reaches the bottom, cant go any further.

The AI works again when u convert the file back to an MX file using actionscript 1.0 rather than MX 2004 using Actionscript 2.0.

So i am now unsure as to why this code just suddenly stopped working???

// ComputerAI/Paddle 2 movements
// ComputerAI “if/else statement”
if (_root.computerAI == true)
//finds the distance between the paddle and the ball, and converts it to a positive number
//(because the paddleSpeed is positive).
** if (Math.abs(_root.ball._y-50-_root.paddle2._y)>paddleSpeed) {
** //-50 is to find the point 50 pixels down the paddle
//since it’s graphic is aligned with the top
** if (_root.ball._y-50<_root.paddle2._y) {
_root.paddle2._y -= PaddleSpeed;
} else**
//seeing whether the ball is above or below the paddle,
//from that, which way to move.
if (_root.ball._y-paddleSpeed>_root.paddle2._y) {
_root.paddle2._y += paddleSpeed;

// Constrain paddle to y = 620
** if (_root.paddle2._y>620) {
_root.paddle2._y = 620;
}**
// Constrain paddle to y = 30
** if (_root.paddle2._y<30) {
_root.paddle2._y = 30;
}
}
} else {
paddle2._y = ball._y-20;
}**

Any ideas as to what went wrong or how to fix this problem???

Cheers
Peter.D