Two things
1. to make script that will react to anky key pressed you simply
onClipEvent(key Down){
2.to make it a specific key do this
onClipEvent(ent erFrame){
if(Key.isDown(" Key.A")){
///put your reaction here