tags:

views:

595

answers:

2

I'm working with adobe air and I have this code..

var urlReq = new air.URLRequest('http://google.com'); 
air.navigateToURL(urlReq);

It's working correctly in that it is loading the page in the browser, but the issue is that adobe air is staying in the front and the browser is not being brought to the front...

Perhaps it's because I'm working in runtime and not a complied app?

(just off to try that now)

A: 
air.navigateToURL(urlReq, "_blank");

does that do the trick? It works with my compiled apps...

Joel Hooks
A: 

Does this happen when your default browser is IE? What if your default browser is Firefox?

Yinan

related questions