qualcuno mi spiega come mai questo script ni da sempre un errore 1084
questo è lo script incriminato


this.pulsante1.addEventListener(MouseEvent.CLICK, click);
this.pulsante2.addEventListener(MouseEvent.CLICK, click);
this.pulsante3.addEventListener(MouseEvent.CLICK, click);
this.pulsante4.addEventListener(MouseEvent.CLICK, click);
this.pulsante5.addEventListener(MouseEvent.CLICK, click);
this.pulsante6.addEventListener(MouseEvent.CLICK, click);
function click (e:MouseEvent) {
var url = e.target == this.pulsante1 ? "index.html" ;
navigateToURL (new URLRequest(url), "_self")}
{
var url = e.target == this.pulsante1 ? "product.html" ;
navigateToURL (new URLRequest(url), "_self");
}
{
var url = e.target == this.pulsante1 ? "chiit.html" ;
navigateToURL (new URLRequest(url), "_self");
}
{
var url = e.target == this.pulsante1 ? "infoit.html" ;
navigateToURL (new URLRequest(url), "_self");
}
{
var url = e.target == this.pulsante1 ? "mailto:info@mio.it" ;
navigateToURL (new URLRequest(url), "_self");
}
{
var url = e.target == this.pulsante1 ? "comerit.html" ;
navigateToURL (new URLRequest(url), "_self");
}




premetto che l'action scrip 3 mi ha sconvolto non poco visto che sono alle prime armi grazzie a tutti