Define your own static MyKey class and have it subscribe as a listener to
Flash's Key. It can then be your applications "Key" class. Meaning your
objects listen to MyKey while MyKey listens to Key. Then MyKey can at
anytime listen to something else that feeds it input. There's nothing magic
about the Key class you can't use the MyKey class for. MyKey can then also
store the last key pressed (whether it was a real key from the Key class or
a virtual key from somewhere else).

Good luck,
Tyler

On 1/25/06, elibol <[EMAIL PROTECTED]> wrote:
>
> I have another idea, would it be possible to delegate Key class functions
> to
> a custom class I've built?
>
> I've tried
>
> _global.ASSetPropFlags(Key,null,6,true);
>
> It still doesn't allow me to delegate the functions. Does anyone know of a
> way around this?
>
> H
> _______________________________________________
> 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