I'm having a strange issue with my game. I'm using Flash CS6 and a Mac.
I've got a character that I move around the screen with keys, and you can click the left mouse button to make him throw something. The weird issue is when I click the left mouse button a lot, it seems to stop any other inputs from coming in, so for example, if I hold the right arrow key down while I'm doing a left clicking, and then let go of the right arrow key, the character will keep on moving right for a few seconds, until it finally get's the key_up event and stops.
Even not using any mouse event handlers, so the mouse is doing nothing in the game still causes the key inputs to be delayed just by left clicking, any ideas?
I've just tested the .swf on a PC and there was no problem, the mouse clicking was not causing any issues, so it's something peculiar to the Mac.
Not really, there's a lot of classes etc, it seems though just a problem when I run it in debug mode. So I was wondering if that's a general issue with mouse click when running in the Flash debug player on the Mac?
This could be an issue if you were using Safari 5.1+ in 64bit mode. This should go away if you run Safari 5.1+ in 32 bit mode. You can change this by
1. Go to /Applications
2. Find Safari->RightClick->Get Info->Check 'Open in 32-bit mode' check box.
3. Relaunch Safari 5.1 again.