views:

13

answers:

0

Ctrl+enter works in all browsers on windows and mac except chrome mac.

This is a flash as3 app.

Here is my code:

stage.addEventListener(KeyboardEvent.KEY_UP, upListener);

private function upListener(e:KeyboardEvent):void {
    if(e.ctrlKey && e.charCode == 13) {
       //do stuff
    }
}

One thing I notice is that the mouse cursor disappears when it is attempted in chrome mac. This also doesn't happen in any of the other browsers.