Il mio problema è proprio la parte di javascript che devo inserire tra i tag <a> presenti nel txt
Siccome nel filmato principale di flash apro anche altre pop, ho inserito il codice
Codice PHP:
MovieClip.prototype.apriPopupCentrata = 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);");
};
per alcuni pulsanti cui ho associato il codice
Codice PHP:
on (release) {
_root.apriPopupCentrata('pagina.html', 'FLASH', 800, 600, 'status=no, toolbar=no, scrollbars=yes');
}
E fin qui amen perchè il tutto è gestito dentro flash e non ho problemi.
Ma siccome questo txt è esterno e non flash, non so quale javascript associargli.