StageWebView arrow keys in Native Browser
I have an air app for desktop. In the app I simply load a stageWebView and set the native browser boolean to true. I then load a url into the web view.
import flash.media.StageWebView;
import flash.geom.Rectangle;
var webView:StageWebView = new StageWebView(true);
webView.stage = this.stage;
webView.viewPort = new Rectangle(0,0,stage.stageWidth,stage.stageHeight);
webView.loadURL('http://www.argonautdesign.net/test.html');
The website simply alerts the keydown:
<script src="http://code.jquery.com/jquery-1.11.0.min.js"></script>
<script>
$(document).keydown(function(e)
{
alert(e.which);
});
</script>
My goal is to detect arrow keys.
This application works great on OSX but does not work on Windows (again tracking arrow keys). If I set native browser option to false it does work. I just need the native browser for other reasons. Now if I go to the url directly from any of my browsers it also works fine. The problem is only within the app using the native browser option on windows. Any ideas how to detect arrow presses?
i'm using air 4.0.0.1390
