Voglio aprire delle pop up direttamente da flash ed ho usato questo metodo nel primo 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 mc pulsante:
_root.centra('1024.htm','titolo',960,600,'');
il mio problema è questo su piattaforme win funziona bene su mac mi lascia dei grossi bordi bianchi a destra e in basso, nel tag body html della pagina ho aggiunto anche:
leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
ed il filmato l 'ho inserito al 102% invece che con le dimensioni reali come posso fare qualcuno sa aiutarmi grazie mille

Rispondi quotando