You need to add a hittest to see if the enemy is touching the avoider.

code:
 if (enemy_mc.hitTest(avoider_mc)) {avoider_mc.removeMovieClip;}