Ver Mensaje Individual
  #1 (permalink)  
Antiguo 22/12/2008, 11:57
thymon
 
Fecha de Ingreso: noviembre-2006
Mensajes: 241
Antigüedad: 17 años, 5 meses
Puntos: 7
De acuerdo Pasar variable a elemento de menú

Buenas, vereis hace unos días descargue un ejemplo en flash sobre un menú con diferentes opciónes, la cosa es... de que manera puedo agregarle un getURL a cada botón que forma el menú?.

Desde ya, gracias.

////// CODE //////

//All the menu
var allMenu:Array = new Array();

allMenu[0] = new Object();
allMenu[0].buttonText = "Profesionales"; //Text on the button
allMenu[1].gotoLabel = "label 1"; //Label to go on click

allMenu[1] = new Object();
allMenu[1].buttonText = "Empleo"; //Text on the button
allMenu[1].gotoLabel = "label 1"; //Label to go on click


allMenu[2] = new Object();
allMenu[2].buttonText = "Formacion"; //Text on the button
allMenu[2].gotoLabel = "label 1"; //Label to go on click


allMenu[3] = new Object();
allMenu[3].buttonText = "Recursos"; //Text on the button
allMenu[3].gotoLabel = "label 1"; //Label to go on click