| Adobe AIR 1.1 |
|
|
Opening a URL in the default system web browserYou can use the navigateToURL() function to open a URL in the default system web browser. For the URLRequest object you pass as the request parameter of this function, only the url property is used. var url = "http://www.adobe.com"; var urlReq = new air.URLRequest(url); air.navigateToURL(urlReq); When using the navigateToURL() function, URL schemes are permitted based on the security sandbox of the code calling the navigateToURL() function. Some APIs allow you to launch content in a web browser. For security reasons, some URL schemes are prohibited when using these APIs in AIR. The list of prohibited schemes depends on the security sandbox of the code using the API. (For details on security sandboxes, see AIR security.) Application sandboxThe following schemes are allowed. Use these as you would use them in a web browser.
All other URL schemes are prohibited. Remote sandboxThe following schemes are allowed. Use these as you would use them in a web browser.
All other URL schemes are prohibited. Local-with-file sandboxThe following schemes are allowed. Use these as you would use them in a web browser.
All other URL schemes are prohibited. |