It may be hard to use key press/release trigger actions. Some of the key names aren't actually what you see on your keyboard. For example, the button "2" would actually be "NUMBER_2".
I found a list of all the valid key names in Actionscript 3. I figured I should put it here in case others have the same problem I did.
Link: https://help.adobe.com/en_US/FlashPlatf ... board.html
The list is kind of in a funny order. You're gonna have to search for a bit to find what you're looking for.