Popup Window: Javascript from out of Flash

(F5)

Hi,

I open a popup Window with some javascript in Flash

on (release)
{ getURL (“javascript:NewWindow=window.open(‘http://www.url.com/page. htm’,‘newWin’,‘width=340,height=340,left=0,top=0,t
oolbar=No,location=No,scrollbars=No,status=No,resi
zable=No,fullscreen=No’); NewWindow.focus(); void(0);”);
}

works fine and dandy… however in the Address bar of the main browser window (the one which hosts the SWF file), after clickin the popup button, the entire Javascript string shows…

which is not only ugly, but also a trouble if peeps want to bookmark the site.

Is there a way to fix this/avoid it and if yes, how (like with setURL or changeURL??)?

Thanks!