I am trying to open a browser window with a specific URL from within flash. The code below works on IE and FF but not Chrome. I see nothing happen and I see no output on chrome's javascript console. Any help would be appreciated
private function newWin():void {
var jscommand:String = "window.open('http://www.slashdot.org','win','height=200,width=300,toolbar=no,scrollbars=yes')";
var urlX:URLRequest = new URLRequest("javascript:" + jscommand + ";");
ExternalInterface.call("window.open","http://www.slashdot.org","win","height=200,width=300,toolbar=no,scrollbars=yes");
}
]]></fx:Script>
<s:Button label="Go to adobe.com 5"
click="newWin()" />