Collision detection

Hi, I’m strugling with a hit test. There are no bugs but my objects are not coliding. I’m stuck. Dunno if anyone can help, this is the coding for that:

//check for collision
for (i=1; i<=_root.numasteroid; i++){
if(this.hitTest(_root.asteroid+i)){
_root.asteroid+i(gotoAndPlay(2));
}else{
_root.score+=1;
}

}

}
}

Thanks!