codice:
// da inserire, senza modifiche, nel primo frame del filmato
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);");
};
// utilizzo della funzione
on(release){
centra('test.html','mia',700,300,'status=yes');
getURL("http://www.tuolink.it", "_blank");
}
non credo ci voglia altro