Javascript & popup window

I am trying to open a popup window from flash, using javascript, so I can control the size, etc.
Right now, I have the code below, but when I test my swf in flash, I get an IE window that says : “Internet Explorer cannot download. Unspecified error”. And of course, if I test the movie in IE, nothing happens at all. :worried:
I thought about ExternalInterface, but I don’t know, maybe I’m missing something, it did not work either.
Any help, PLS???

 
var js:URLRequest=new URLRequest();
js.url="javascript:window.open('http://www.adobe.com','win','width=500,height=400');newWindow.focus(); void(0);";
 
function openPOPUP(e:MouseEvent):void {
{
 navigateToURL(js,'_blank');
}