Io utilizzo questo codice e ti assicuro che funziona perfettamente:
1) DEFINIZIONE DELLA FUNZIONE (Da mettere nel primo frame della scena in cui vuoi mettere il tasto che lancia il popup):
MovieClip.prototype.centra = function(nome,titolo,lar,alt,feat){
var w = System.capabilities.screenResolutionX / 2;
var h = System.capabilities.screenResolutionY / 2;
var x = Math.round(w - ( lar / 2 ));
var y = Math.round(h - ( alt / 2 ));
getURL("javascript:window.open('"+ nome + "','" + titolo + "','width=" + lar + ",height=" + alt + ",screenX=" + x + ",left=" + x + ",screenY=" + y + ",top=" + y + "," + feat + "');void(0);");
};
2) CHIAMATA DELLA FUNZIONE (da mettere nelle azioni del tasto che lancia la popup)
on(release){
centra('http://www.adobe.com/products/acrobat/readstep2.html','id',800,600,'resizable=yes');
}

Rispondi quotando