hitTest, here we go again!

so, I have been without flash for a long while, and to be honest, I don’t remember jack of it!

I have this:


if (ball.hitTest(bat1)) {
 **yspeed*=-1;**
 **yspeed+=.5;**
 **xspeed=(ball._x-bat1._x);**
}

I took this from a thing I made some time ago, and I can’t remember the meaning of the things in bold. But that’s not the thing…
I want to write if (ball._x = bat1._x reverse ball._y and ball._x)
But I don’t remember how or IF you can write that…

Hope you understand what I am saying…
I better start re-learning…