Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/09/2006, 13:05
Avatar de Juanmax
Juanmax
 
Fecha de Ingreso: diciembre-2005
Ubicación: Paraná, Entre Ríos , Argentina
Mensajes: 90
Antigüedad: 18 años, 4 meses
Puntos: 0
BUENO, YA LOGRE HACERLO FUNCIONAR, DEJO EL CÓDIGO PARA FUTURAS VISITAS. GRACIAS.

matrizmodulos = new Array(["Unidad1", "U1-Inecuaciones", "U1-Tema2"], ["Unidad2", "U2-Tema1", "U2-Tema2"]);
profundidad = 1;
altura = 150;
for (i=0; i<=matrizmodulos.length-1; i++) {
for (j=0; j<matrizmodulos[i].length; j++) {
if (j == 0) {
_root.attachMovie("botonunidad_mc", "btn_u"+profundidad, profundidad);
_root["btn_u"+profundidad].nombre_unidad = matrizmodulos[i][j];
_root["btn_u"+profundidad].nroframe = i+2;
_root["btn_u"+profundidad]._y = altura;
_root["btn_u"+profundidad]._x = 50;
profundidad++;
altura = altura+25;
trace(matrizmodulos[i][j]);
}
}
}
stop();
__________________
juanmax - GUERRERO Lab