Mouse hit test with score


I have a small game thats incorporated into an ecard. basically you have to hit an object that appears randomly on a grid.
My problem is everytime you hit the object … it goes from 1-10 very quickly does not record 1 hit at a time…

I have asked this question before, and previously I had used a && Beenhit variable in an if else statement which worked fine with 2 MC’s. But it does not seem to work with the mouse hit test.

this is what I am using:
sb.onEnterFrame = function() {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.score ++ ;

Any ideas …
Thanx V much. mako :slight_smile: