Skip navigation
aintrocketscience
Currently Being Moderated

Does Flash / Air have a limit on the number of simultaneous key events it can take in?

Sep 25, 2012 4:41 AM

Tags: #air #keyboard-event #as3 #keyboard #keylistener

Hi there,

 

I'm working on a project where we are using keyboard input to drive events in a game. As it's for an exhibition, we are using more than one USB keyboard and I wondered if there was a limit to the number of keyboard presses that Flash / AIR can register at one time.

 

A crude example would be the UP, LEFT, RIGHT, DOWN, A,D,S & W keys... this could take standard movement events from two players on one computer.

 

Thanks very much for your help

 

jon

 
Replies
  • kglad
    61,994 posts
    Jul 21, 2002
    Currently Being Moderated
    Sep 25, 2012 10:33 AM   in reply to aintrocketscience

    there's a limit to everything in flash so i'm sure there is for keyevents.  i don't know what that limit is but it should be easy to test.  why don't you test and tell us?

     
    |
    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