El sitio más completo sobre programación, recursos web y herramientas online para Webmasters
Fecha: 26/11/2005

Cargar TXT flash

Trucos flash:
Carga preguntas en forma aleatoria de un archivo de texto

Código Flash


ran = random(10);
repeat = -1;
for (i=0; i<10; i++) {
if (ran == eval("store"+i)) {
repeat = i;
break;
}
}
if (repeat == -1) {
eval("store"+ran) = ran;
output = ran;
test += ran+",";
}

The test variable is not necessary - I just put it in to test the code. Now all you need do is name your questions 0-10 and;
display=eval( "question"+output)
Cargar TXT flash Categoría: Trucos, Flash


Scripts Similares:

» Abrir Popup en flash
» Adjuntar flash
» Agregar valor
» Archivos TXT en flash
» Array en asp
» Asteroides en flash
» Buscar con peliculas flash
» Buscar una string con flash
» Buscar valor
» Cambiar color con flash

Privacidad ּ Publicidad ּ Prensa ּ Premios ּ Colaborar ּ Enlazarnos ּ Mapa del Sitio ּ Aviso legal ּ Boletín ּ Contacto
2001 - 2011 | Sitio creado y mantenido por Gabriel Marcelo Rodríguez
Hosting de alta calidad a bajo costo Neolo.com.ar