title: Flash AIR: prevent exiting fullscreen with command+w
body: <p>OK, so I've been at this for a good couple of hours now and I'm starting to rage.</p>
  
  <p>I am making a kiosk-app in flash (air) which should not allow users to exit fullscreen mode by any other means than typing in a password. This has proved somewhat impossible, as it appears you just can't prevent users from using ctrl+alt+delete or command+alt+esc or for that matter alt+tab. But at the very least I want to prevent them from using escape, alt+f4, command+q and command+w.</p>
  
  <p>After a fair bit of googling I've got escape, alt+f4 and command+q down. Basically I'm just setting listeners for the CLOSE, CLOSING and EXITING event on stage.nativeWindow and preventingDefault(). The CLOSE and EXITING events never fire in this case, they're just there for good measure. I'm handling ESC simply by listening for KEY_UP and preventing it. However:</p>
  
  <p>Command+w is refusing to cooperate. It appears to be doing something which minimizes the fullscreen before dispatching the CLOSING event. So, the question is:</p>
  
  <p>What is it, and how do I prevent it?</p>