Re: [Flashcoders] Track key up event for simultaneously pressed keys

2006-01-12 Thread GregoryN
Michael, The only way I can suggest at the moment is onEnterFrame/interval function checking which keys are still pressed. When key is pressed (onKeyDown), you can write it's name/code into array and check just this array later. There's a nice Guy Watson's code at proto.layer51.com that "Returns t

[Flashcoders] Track key up event for simultaneously pressed keys

2006-01-12 Thread Joe Cutting
>> I wonder what is the best way to capture a "key-is-up" event if several keys are pressed at once. For example if I press and hold left then press spacebar and release it onKeyUp won't fire till I release left key >> I always used Key.isDown() which works fine. Have you tested that you can't d

[Flashcoders] Track key up event for simultaneously pressed keys

2006-01-12 Thread Michael Klishin
Hi, I wonder what is the best way to capture a "key-is-up" event if several keys are pressed at once. For example if I press and hold left then press spacebar and release it onKeyUp won't fire till I release left key Thanks in advance! 16:31, 12.01.2006 -- Michael "Antares" Klishin, Email: