HitTest with gotoAndPlay()?

Hello

As I have said earlier I’m trying to make a car game. When my car hits another mc(lap) on the stage I want flash to move to another frame. I can’t get it to work with the code that I have:(

[COLOR=Blue] if(_parent.lap.hitTest(_x,_y,true))
{
gotoAndPlay(23);
}[/COLOR]

Do anyone know what kind of code I should apply to my car so that flash jumps to another frame when the car hits the mc?:-/