Salve,
sto utilizzando questo script flash per aprire in automatico una pop. E' possibile aprire un url dinamico, mi spiego meglio, al momento apro una pop che è test.html, si potrebbe dire al filmato flash di aprire la pop ma con un url passato attraverso una variabile?
Fatemi sapere.
Sul primo layer:
MovieClip.prototype.apriPopupCentrata = 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);");
};
Sul secondo layer
apriPopupCentrata('test.html', 'FLASH', 400, 300, 'status=yes, toolbar=yes');