# \[Flash CS4\] Game counter problems

**URL:** <https://forum.kirupa.com/t/flash-cs4-game-counter-problems/293526>\
**Category:** flash\
**Created:** [July 30, 2009, 8:09am UTC](https://forum.kirupa.com/t/flash-cs4-game-counter-problems/293526 "2009-07-30T08:09:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![karton](https://avatars.discourse-cdn.com/v4/letter/k/e9c0ed/32.png) [@karton](https://forum.kirupa.com/u/karton)\
**Post date:** [July 30, 2009, 8:09am UTC](https://forum.kirupa.com/t/flash-cs4-game-counter-problems/293526/1 "2009-07-30T08:09:52Z")

</div>

Hello,

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  
yuhuu1 ![](http://forum.kirupa.com/uploads/kirupa/1105/8ed432c9025fd9ca.gif)
