Function keys are problematic controls for Flex or App on Mac
since they can be configured by the user to do different things.
Other keys (Ctrl-F) can be used more reliably in combination with
CTRL, Shift etc... with a keyboard event listener. There are
several examples and documentation for keycodes if you Google it.