Ver Mensaje Individual
  #4 (permalink)  
Antiguo 11/03/2013, 01:22
sgrd
 
Fecha de Ingreso: julio-2012
Mensajes: 7
Antigüedad: 11 años, 10 meses
Puntos: 0
Respuesta: Problemas con un For

Solucionado, me creo un array y ya puedo hacerlo, era bastante sencillo pero no pense en los arrays con o bien que vienen.

var A_error = new Array(num_errores);

for (i=0; i<num_errores; i++){
A_error[i] = new Image();
A_error[i].src = miArray[i].src;
context.drawImage(A_error[i], miArray[i].ubic_x + dif_img, miArray[i].ubic_y);
}