Sometimes we need to know or use the Flash key codes in our applications. In AIR runtime, you can find the Keyboard class, which is used to build an interface that can be controlled by a user with a standard keyboard, the keys which most commonly used to control games are constants represented. And they are only available in the AIR runtime. Following is a key control codes class in Flash, you can simply customize it to cater for your application.
Posts Tagged ‘Key code’
May 3rd, 2010