char and key code checker

Found this at adobe.
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf64a29-7fdb.html
Needed to trap key up and down presses.
handy to check keypress codes