About
The EasyKeyboard library is a set of classes used for simple, quick and efficient listening to keyboard events in Actionscript 3. It is intended both for beginners and experienced AS3 programmers as a lightweight utility for simplifying and speeding up the process of creation of all kinds of keyboard listeners. The library can be used in all kinds of Flash/Flex/AIR applications and games.
Features
- Free!
- Lightweight
- Efficient and optimized
- Open-source
- Easy implementation
- Very simple to use
- Add listeners using key codes
- Add listeners using key names
- Add single key listeners
- Add key combination listeners
- Add hold listeners
- Add timed listeners
- Add sequence listeners
- Remove listeners
Example
Click on the flash player below and use your keyboard to test out the class functionality. Press the keys on your keyboard as the labels below say, and watch as the indicators turn green when they catch an event.
EasyKeyboard version 1.0
Free ActionScript 3 library for adding keyboard listeners quickly and easily. Licensed under MIT license.
Documentation
- Keyboard manager
- Key codes and key names
- Single key listeners
- Hold listeners
- Combination listeners
- Timed listeners
- Sequence listeners
Download PDF:
(230 kB)
