Ver Mensaje Individual
  #4 (permalink)  
Antiguo 04/11/2003, 15:51
Avatar de TMeister
TMeister
Crazy Coder
 
Fecha de Ingreso: enero-2002
Ubicación: En la Oficina
Mensajes: 2.880
Antigüedad: 22 años, 3 meses
Puntos: 193
umm la verdad no me gusta trabajar con eval... no se.. cuestion de gustos....

Tomando tu ejemplo yo lo haria asi...:

Código PHP:
links = ["http://www.google.com""http://www.yahoo.com",
 
"http://www.altavista.com"];
for (
i in link) {
    var 
boton attachMovie("clip""NuevoNombre"i);
    
boton._x 100;
    
boton._y 20*i;
    
boton.link links[i];
    
boton.onPress = function() {
        
getURL(this.link);
    };

Pero como ya dije es cuestion de gustos...

Saludos!!