Key Detection

Hello! I am currently working on a vertical shooter game. All works well for now, except that I want to detect the key press F, but not with if(Key.isDown(70)). I would use that, but to get this thing to work, this thing being the playing of an animation, you really have to carefully tap the key. I want it to run more like on(keyPress “<Space>”), but I don’t know how to do that with the F key.
Script:

onClipEvent (enterFrame) {
    if (Key.isDown(70)) {
        if (_root.gunOut == false) {
            this.gotoAndPlay("gun_out");
            _root.fire = true;
            _root.gunOut = true;
        } else if (_root.gunOut == true) {
            this.gotoAndPlay("gun_away");
            _root.gunOut = false;
            _root.fire = false;
        }
    }
}

Thanks for your help!

-={Holmesc}=-