Be a Supporter!


Main News Movies Games Art Favorites Reviews Stats 2,998 Fans
Follow BoMToons

Entry #153

Key code mapping tutorial

1/14/14 by BoMToons
Updated 1/14/14

I found myself using some code over and over and constantly visiting this one site to get as3 keycodes, so I thought maybe the code I wrote might be useful to others. I really hope there's not already a built-in way to do this in as3 :-P

Mapping key codes to text names:

EDIT: After some discussion in the forums, came up with a much more elegant solution.

Here's a .swf:

And here's the .fla (cs5.5):


Also, the Labyrinth game is done, just waiting on the sponsor to launch it officially!1405066_138972984172_featureimg.png


You must be logged in to comment on this post.

where can i download this game i want to play for free please

1/15/14 BoMToons responds:

it will be a free web game when it comes out



I have the important ones memorized at this point.

1/14/14 BoMToons responds:


That's about all I can remember without looking... :-(



Luis showed me some of the progress on Labyrinth lol. I'm pretty excited for it!

1/14/14 BoMToons responds:

*high ten*