Having a little trouble with this

–EDIT–
figured out how to fix it so i no longer need any help

all i cant figue out how to do with this is when a coin or a mine hits the character, the character either gets blown up (if hitting the mine) or gets some points added to his score (for hitting the coins).

heres the swf