
11/09/2005, 16:24
|
 | | | Fecha de Ingreso: enero-2002
Mensajes: 73
Antigüedad: 23 años, 1 mes Puntos: 0 | |
porque no funciona? no recoge el nombre del array en el campo "nombresBtn" ¿en que estoy fallando?
nombres = [QUIENES, DONDE, PRODUCTOS, CONTACTA];
destino = [QUIENES.swf, DONDE.swf, PRODUCTOS.swf, CONTACTA.swf];
for (var i = 0; i<nombres.length; i++) {
attachMovie("btn", "btn"+i, i);
this["btn"+i]._x = (btn1._width+5)*i;
this["btn"+i].nombreBtn = nombres[i];
trace(_root.menu["btn"+i]._x);
} |