fscommand("trapallkeys",true); //?
On 11/12/06, Jim Greer <[EMAIL PROTECTED]> wrote:
Our games site has a problem - people pause a game and use the chat, which
is a separate movie in an iframe servred from a separate domain. However,
the game continues to get keyboard events. In fact, it even gets events
from
people typing in the address bar of the browser!
In some games this is a real problem, because the game unpauses when you
hit
the space bar or whatever.
This happens in both Safari and Firefox on the Mac. Doesn't happen on
Windows.
A friend suggested trapping the keyboard events using Javascript, to keep
them from getting to the games... has anyone else dealt with this problem?
For an example of this, see:
http://kongregate.com/games/pixeljamgames/gamma-bros
You can login as:
user: flashcoders
pwd: focus
Thx,
Jim Greer
[EMAIL PROTECTED]
Company: http://kongregate.com
Blog: http://jimonwebgames.com
home: 159 Dolores #4, SF CA 94103
work: 430 Fillmore Suite A, SF CA 94117
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com