In AS3, you cannot use “getURL()” to link to external urls or javascript anymore. There is a new method called “navigateToURL()” that you can use instead. It takes in 2 parameters just like “getURL()” method in AS2 but the first parameter is a URLRequest object instead of string:
import flash.net.navigateToURL;
import flash.net.URLRequest;
navigateToURL(new URLRequest("http://www.example.com"), "_blank");
No user commented in " AS3 getURL() method "
Follow-up comment rss or Leave a TrackbackLeave A Reply