Aug
27
Away3D Typewriter
Filed Under AS3, Flash & Flex, Flash 3D
Well once I started I had to do another demo with Away3D. Here is some sort of typewriter. Just start typing (click anywhere on the stage to set focus). And just as you would expect backspace erases letters and hitting enter starts a new line.
Keyboard.CharCodeStrings was causing me headache. I just couldn’t get it work… but then found out that it is only available within the AIR 1.0 runtime. Fortunately I found Scott Ruttencutters CharCodeStrings Library (download). Thanks for sharing it Scott
.
NOTE! Returned character codes are for US English.
Comments
4 comments to “Away3D Typewriter”
Leave a comment

Hey there, just saw this post from last month. Looks like you are doing something Very similar to what I was working on when I built the charcode library. Glad it worked out well for you.
Yep. And your CharCodeStrings Library was great help
Hey there, just FYI–somebody clued me into the fact that there is a String class function that will turn uint charcodes into characters for you–who knew?
Try using:
String.fromCharCode()
It seems to work just fine.
Thanks Scott. I’ll try that.