[osflash] as3 + non english input charCode ?

Dani Bacon danibacon at gmail.com
Wed Dec 12 08:01:29 PST 2007


hi all,

KeyboardEvent.charCode, as stated in the as3 docs, returns the english
keyboard layout char code that was pressed:

http://livedocs.adobe.com/labs/flex3/langref/index.html?flash/events/KeyboardEvent.html&flash/events/class-list.html

that is even when i switch my keyboard to a russian layout, i keep getting
the charCodes as if it was still set to english.
so, how do i get the russian char that was typed (or any other language) ?

basically i need to construct a string out of a set of chars typed by the
user and i need it to support various languages ...
am i missing something ? i thought this is supposed to be really simple ?

thx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20071212/1f248166/attachment.html 


More information about the osflash mailing list