questo:
codice: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);"); }
e questo:
in tutti e due i casi, in prova filmato funziona... mentre se pubblicato in una pagina HTML il filmato non mi apre nessuna pagina.codice:Movieclip.prototype.popup = function (nome,titolo,lar,alt,x,y,feat){ getURL("javascript:window.open('" + nome + "','" + titolo + "','width=" + lar + ",height=" + alt + ",screenX=" + x + ",left=" + x + ",screenY=" + y + ",top=" + y + "," + feat + "');void(0);"); }
Ho provato anche a scrivere MovieClip (uso MX2004)... ma nun va.
ciao.
dies![]()

Rispondi quotando