Bugger - that's annoying.
Oh well, I put together a workaround for anyone else that wants this:
private function
onCreationComplete(event:FlexEvent):void
{
Application.application.addEventListener(KeyboardEvent.KEY_DOWN,
onKeyDown);
}
private function onKeyDown(event:KeyboardEvent):void
{
if(event.ctrlKey && event.keyCode == 84)
{
navigateToURL(new
URLRequest("about:blank"), '_blank');
}
}
--- In [email protected], Alex Harui <[EMAIL PROTECTED]> wrote:
>
> Last I heard, this is a limitation of the plug-in API in browsers.
>
> From: [email protected] [mailto:[EMAIL PROTECTED]
On Behalf Of valdhor
> Sent: Thursday, August 28, 2008 6:04 AM
> To: [email protected]
> Subject: [flexcoders] Disable Control Keys being captured by Flash
Player
>
>
> I have deployed my Flex App but now my users are complaining that they
> cannot press CTRL-T to get a new tab in Firefox (The Flash Player
> captures the keypress).
>
> Is there any way to disable the capturing of key presses?
>
> Alternatively, how would I capture the keypress in code and then
> forward that to the underlying browser?
>