# MouseEvent.CLICK doesn't work properly

**URL:** <https://forum.kirupa.com/t/mouseevent-click-doesnt-work-properly/297481>\
**Category:** flash\
**Created:** [October 2, 2009, 8:29pm UTC](https://forum.kirupa.com/t/mouseevent-click-doesnt-work-properly/297481 "2009-10-02T20:29:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![qRTe](https://avatars.discourse-cdn.com/v4/letter/q/dfb087/32.png) [@qRTe](https://forum.kirupa.com/u/qRTe)\
**Post date:** [October 2, 2009, 8:29pm UTC](https://forum.kirupa.com/t/mouseevent-click-doesnt-work-properly/297481/1 "2009-10-02T20:29:00Z")

</div>

In my class i’ve got something like this:

```auto
addEventListener( MouseEvent.CLICK , setClickedTrue );

// .....

private function setClickedTrue( e:MouseEvent ):void
{
         trace( "Mouse Clicked" );
}

```

Of course It’s very simple code, but I’ve got very strange as for me problem, and I have not any idea how to solve it.

So Every time when I click left mouse button, the setClickedTrue function should be triggered. And that’s what happen normally. But when I make a fast move with a mouse, and in the meantime i click left mouse button, or i make a fast move and finishing i will click left mouse button, the function is not triggering. Something like MouseEvent can’t hear this Event. And i ask why?

I’m making an avoid game, and it’s very important. I’m using Timer class with delay = 30; I’m also have got 30FPS on Flash Proporties.

Has anybody any idea what’s going on. I’ll be glad to hear any comments from you.
