se ho capito cosa vuoi fare
sulla prima frame della root (livello Action)
inserisci
stop()
function dovevado(nome){
trace(nome)
switch (nome) {
case "Home":
trace ("case 1 tested true");
_root.gotoAndPlay(10);
break;
case "Chi Siamo":
trace ("case 2 tested true");
_root.gotoAndPlay(20)
break;
// etc
default:
trace ("no case tested true")
}
}
sul Pulsante alla 49° aggiungi
on (press) {
_root.dovevado(_name)
this._alpha = 60;
_root.swap(_name);
startDrag(this, false, 0, 40, 800, 500);
}

 
			
			 
					
					
					
						 Rispondi quotando
  Rispondi quotando