Return to Snippet

Revision: 26847
at May 13, 2010 05:09 by adrianparr


Initial Code
import flash.net.URLRequest;
import flash.net.navigateToURL;

function getURL($url:String, $target:String = null) {	
	try {
		navigateToURL(new URLRequest($url), $target);
	} catch(error:Error) {
		trace("getURL Error:" + error);
	}	
}

Initial URL

                                

Initial Description

                                

Initial Title
AS3 getURL using URLRequest and navigateToURL

Initial Tags
url

Initial Language
ActionScript 3