[Flash CS4] Game counter problems


I am not very good with code in flash and am having problems with my game counter. My code is in AS1 as some of it I have picked up from internet.

It is like a basketball game. But my counter will not register the ball in the basket if I get it in the first time, it only starts counting if I miss it. From then it is fine.

I think there must be a problem with the initial registry of the object.

Any suggestions or direction to a tutorial will be appreciated,

Thank you