Disable keyboard shortcuts via Actionscript

Hi All,
Hopefully an easy question!?

I have a photo gallery that can be navigated via arrow keys and various keyboard shortcuts. However on the same SWF is also a contact form…now whenever you fill it in and use the ‘F’ key it tries to put the flash file into Full Screen.

How can I disable all shortcuts when in frame 30 of my SWF (the contact form) and then re-enable them when moving away from that frame.

Using Flash CS5 with SlideshowPro. Have looked over the web but can’t find very much on this issue at all (surprising?)

Thanks

Chris