# Click event isn't registering

**URL:** <https://forum.kirupa.com/t/click-event-isnt-registering/329021>\
**Category:** flash\
**Created:** [July 13, 2012, 9:42pm UTC](https://forum.kirupa.com/t/click-event-isnt-registering/329021 "2012-07-13T21:42:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kerry\_Kim\_Russo](https://avatars.discourse-cdn.com/v4/letter/k/f19dbf/32.png) [@Kerry\_Kim\_Russo](https://forum.kirupa.com/u/Kerry_Kim_Russo)\
**Post date:** [July 13, 2012, 9:42pm UTC](https://forum.kirupa.com/t/click-event-isnt-registering/329021/1 "2012-07-13T21:42:14Z")

</div>

I’m working on an inherited project where most assets are placed on the stage including a button that I’m trying to add a CLICK event listener on.

In my document class, the event listener is being attached like so:

```auto
dailyBonusMC.dailyBonus.bonusButton.addEventListener(MouseEvent.CLICK, onbonusButtonClick);

```

As this is part of a larger project where testing needs to be done in the browser, I’ve set up console.log calls to make sure it’s[LIST=1]  
[_]reaching the addEventListener line and  
[_]checking to see if it attaches the listener using hasEventListener(MouseEvent.CLICK)  
[/LIST]The line is definitely being reached and the listener is definitely being attached. I even tried to create a transparent Sprite over top of the button to receive the CLICK event but that didn’t work either.

Any thoughts?

P.S. Any word on what’s up with the [actionscript.org](http://actionscript.org) forums?
