I have a component in AIR like so:
<mx:HTML
id="html"
width="100%"
height="100%"
location="https://example.com"
locationChange="dispatchLocationChange(event)"
/>
The page it loads contains this:
<a onclick="alert('onclick')">Alert</a>
<a href="javascript:alert('js')">Alert</a>
<a onclick="window.open('http://www.google.com','_blank')">new window</a>
The 2 alerts both work. however nothing happens when you click the new window link.
all 3 links works when in a real browser so I know its ok.
Is there just no support for window.open in the AIR HTML component? or is this a bug?
Is there a work around?