Key Code Question

I have a file that will get the key code of whatever key is down and place it within a dynamic text box.
FLA
SWF
Now what I was hoping to get help on was a way to make it so instead of showing the key code in box it shows the key that the keycode represents. So instead of 65 it says A. Get it? Now I know this can be done with a simple if statement within the movieclip. But I was hoping someone had a more simple way to do this rather than a million if statements for each keycode. The FLA above is Flash MX 2004. Thats the only version I have, so sorry to those who can’t view it. All I did was make a dynamic with keycode under Var under its properties. I put this in a movieclip and then put the following actions within the movieclip.


onClipEvent(keyDown){
 code=Key.getCode();
 this.keycode=code;
}