I have an AIR app with an <mx:HTML>
component, which renders a page that includes an HTML/Javascript-based WYSIWYG/rich-text editor. Various keyboard shortcuts are assigned for formatting and what have you, but if I type a shortcut which isn't assigned (eg. cmd [or ctrl on Win] + M), the character is entered as if no modifier key was pressed. This is even true if the shortcut is assigned but its menu item is disabled.
What is the best way to detect that a modifier is pressed, but the shortcut is not assigned and should be ignored rather than passed through to the HTML view without the modifier key?