Re: [Flashcoders] Re: Setting the last pressed key in the Key class

2006-02-07 Thread elibol
Hi Tyler,

Thanks for your reply! I'm not allowed to disclose my reasoning, however,
it's essential that it's the Key class that I use.

High Regards,

M.

On 2/7/06, Tyler Wright <[EMAIL PROTECTED]> wrote:
>
> 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
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re: Setting the last pressed key in the Key class

2006-02-06 Thread Tyler Wright
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
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Re: Setting the last pressed key in the Key class

2006-01-25 Thread elibol
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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders