Open URL in ActionScript 3
No more getUrl() in ActionScript 3. AS3 makes you type another line or two, but it is not big deal.
If you want to open your url into an new window you will add "_blank" to the navigateToURL call.
var _url:URLRequest = new URLRequest("http://www.theactionscripter.com/");
navigateToURL(targetURL);
If you want to open your url into an new window you will add "_blank" to the navigateToURL call.
var _url:URLRequest = new URLRequest("http://www.theactionscripter.com/");
navigateToURL(targetURL, "_blank");




Comments