ActionScript: IE8 navigateToURL bug and workaround

Flash player on IE8 has a bug: the call to actionscript function navigateToURL(urlRequest) always opens in a new window.

The workaround is to use ExternalInterface to create on the fly a function and call it:

public class YourUtilsClass {
	public static function navigateToURL( url:String ) : void {
		ExternalInterface.call("function winOpen() { window.open('" + url + "'); }");
	}
}

One Reply to “ActionScript: IE8 navigateToURL bug and workaround”

Leave a Reply

Your email address will not be published.