
11/03/2013, 01:22
|
| | Fecha de Ingreso: julio-2012
Mensajes: 7
Antigüedad: 12 años, 8 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);
} |