Salve
dovrei aprire una pagina html in popup da un bottone posizionato nel mio .swf
codice:
on (release) {
	getURL("javascript:popup('590' , '500' , 'gb_write.html')");
}
Il resto del codice e si trova nella main.html
codice:
<SCRIPT LANGUAGE="JavaScript" type="text/javascript">
function popup(width, height, filename)
{
var left = (screen.width - width) / 2;
var top = (screen.height - height) / 2;
var attributes = "left=" + left +
", top=" + top +
", width=" + width +
", height=" + height + ", ";
attributes += "toolbar=0, location=0, directories=0, ";
attributes += "status=0, menubar=0, scrollbars=0, ";
attributes += "resizable=0";
window.open(filename, "appwindow", attributes);
}
</SCRIPT>
Ciamando direttamente nel browser la pagina main.html funziona,
il problema e che la pagina main.html e posizionata in un frame della index.html e nn succede niente
Ho provato a inserire il lo script nell index.html ma nn ne vuole sapere niente...

Qualcuno ha una soluzione?

THX | 4YOU