I can see a workaround though:

It would be not too hard to write a class that listesn to the keyboard, and
when an onKeyDown event is triggered, it reads the key and adds the keycode
to an array.

The keycode is then removed at an onKeyUp event. And the isDown method would
just have to look through the array.

Of course this is suboptimal, as it would never be as efficient as a
built-in method to detect the state of a key...



On 12/28/05, Joe Cutting <[EMAIL PROTECTED]> wrote:
>
> If this is correct then it sounds like a real pain and possible
> reason for not using
> Flash altogether. I'm currently using isDown() for all sorts of game
> like applications
> including some which rely on several keys being pressed at once.
> Does anyone know whether the new KeyboardEvent object will let you do this
> and if not how do we go about telling Adobe that there's going to be a
> problem.
>
> Cheers
>
> Joe
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to