Skip navigation
Currently Being Moderated

Strange issue with left mouse clicking freezing other inputs on the Mac

Jun 21, 2012 9:32 AM

Tags: #action_script_3 #mouse_click

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.

 
Replies
  • Currently Being Moderated
    Jun 21, 2012 9:39 AM   in reply to GameViewPoint

    Can you show the code?

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 25, 2012 1:56 AM   in reply to GameViewPoint

    Hi,

    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.

     

    Thanks!

    Mohan

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points