Ctrl+F4, this is what I usually use to close tabs in IDE, like MS Visual Studio or Eclispe. Meanwhile Flash CS4 says that Ctrl+F4 is “Reserved by the system”.
The problem was easy to solve.
All files with keyboard shortcuts for Flash are situated here(Windows 2000/XP): C:\Documents and Settings\%USER_NAME%\Local Settings\Application Data\Adobe\Flash CS4\en\Configuration\Keyboard Shortcuts\
or here (Windows Vista/7): C:\Users\%USER_NAME%\AppData\Local\Adobe\Flash CS4\en\Configuration\Keyboard Shortcuts\
After some investigation, I have changed line
<Shortcut id=”57602″ key=”87″ scope=”1″ flags=”11″ />
to
<Shortcut id=”57602″ key=”115″ scope=”1″ flags=”11″ />.
And voilà, Ctrl+F4 works!
UPDATE: The same works for Flash CS5.
Path: C:\Users\%USER_NAME%\AppData\Local\Adobe\Flash CS5\en\Configuration\Keyboard Shortcuts\
Find the line with the id=”57602″ and replace it with the following:
<Shortcut id=”57602″ key=”115″ scope=”IDR_MAINFRAME” flags=”11″ />
In Flash CS5.5 this line should be the following:
<Shortcut id=”57602″ key=”115″ scope=”IDR_MAINFRAME” flags=”9″ />