Frame change won't work

I have this code in an object:

onClipEvent(enterFrame){
if (this.hitTest(_parent.character)) {
gotoAndPlay(“5”);
}
}

I did trace(_parent.character) and that works, but the collision doesn’t, and I did name a frame 5, so why doesn’t it work?