Non riesco a far funzionare il seguente codice se voglio aprire in popup una finestra che non risiede nella root del mio sito, ma in una sotto-cartella... come mai?
nel 1°frame:
Movieclip.prototype.centra = function(nome,titolo,lar,alt,feat){
getURL("javascript:var x = Math.round((screen.width/2)-(" + lar + "/2));var y=((screen.height/2)-(" + alt + "/2));window.open('" + nome + "','" + titolo + "','width=" + lar + ",height=" + alt + ",screenX=' + x + ',left=' + x + ',screenY=' + y + ',top=' + y + '," + feat + "');void(0);");
}
al pulsante associo:
on(release){
centra('esempio.htm','mia',700,300,'status=yes');
}