public static function navigateToURL(url:*, preferredWindow:String = "_self"):Boolean
Convenience method to load a web page in the browser window without
having to worry about SecurityErrors in various conditions.
Parameters
| url:* — a String or a URLRequest.
|
|
| preferredWindow:String (default = "_self ") — the browser tab/window identifier in which to load. If you
specify a non-null window and it causes a security error, the request is retried with null.
|
Returns
| Boolean — true if the url was able to be loaded.
|