[Flash CS4 AS2] Need Help with HitTest and Scoring

Hi everyone, thanks for your help in advance. Be forewarned, I’m a total noob and might not use all the correct terminology.

I’m trying to make a game where a player moves around the screen, and collects coins that are sidescrolling across the screen. So, when the player touches a moving coin, the coin will disappear and the score will increase by a set amount of points.

My coins are a class, and in the actionscript file for the coins, i’ve added the following code:

if(this.hitTest(_root.player)){
this._visible = false;
_root.score += 10;

Everything works fine, except that the score doesn’t just go up 10 points, it goes up 10 points every millisecond that the player is touching the coin. So, when I’m testing the movie, if I make the player touch the coin and then quickly move away, the score will increase by 50. But if I make the player touch the coin and then stay where it is, the score will increase by 130.

Is there anything I can do to fix this? I want the score to only go up 10 points for each coin touched by the player.