>>
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 detect two keys using onKeyUp?

Unfortunately Flash 8.5 is scheduled to have Key.isDown removed "for security reasons" - there was discussion of this on the list over Christmas but we never got an answer from Macrobe or anyone else as to whether it will be possible to detect two keys at once
using the KeyUp / KeyDown.

Cheers

Joe

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to