FORUMS: list search recent posts

KeyLocation

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Warren R Sampson
KeyLocation
on Sep 5, 2007 at 8:26:29 pm

Hi,

I want letters to appear on the stage where they occur on a standard QWERTY keyboard.

Will KeyLocation do this? The documentation shows it as being useful for differentiating things like num keys that appear in two places. But I need a value that will help me put events on the stage proportionally to where the key is pressed.

I could build a table of values but thought there might be an easier way.

Thanks!

Warren
Minneapolis


Return to posts index

Doccie
Re: KeyLocation
on Sep 6, 2007 at 12:20:01 am

KeyLocation only shows whether, if for instance, the control key is pressed, it is pressed on the right or left side of the keyboard.

I fear that an array of values is your only option.



Return to posts index

Warren R Sampson
Re: KeyLocation
on Sep 6, 2007 at 1:13:03 am

Thanks for the quick reply. It was as I suspected.

It won't take long to make. I just didn't want to hack away only to find an elegant answer right under my nose!

Warren


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]