salve gente...
oggi ho scoperto che associare una funzione a due bottoni mi crea un errore...
ora potrei creare una funzione per ogni bottone....ma mi pare un procedimento troppo noioso e stupido... qual'è la maniera corretta di procedere?Codice PHP:
button_1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame11);
cinque.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayFromFrame11);
function fl_ClickToGoToAndPlayFromFrame11(event:MouseEvent):void
{
gotoAndPlay(11);
}