In my class i’ve got something like this:
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.