Ver Mensaje Individual
  #10 (permalink)  
Antiguo 21/10/2006, 18:55
Avatar de pulento
pulento
 
Fecha de Ingreso: noviembre-2002
Ubicación: En un pequeño, helado, obscuro reino... llamado Dinamarca.
Mensajes: 1.852
Antigüedad: 21 años, 5 meses
Puntos: 1
deberia tomar el valor...
y como no puedo habrir tu rar.. te pongo todo el code:

Código PHP:

var numero_images:Number 0;
var 
valorAleatorio:Number   0;
var 
cargador_lv:LoadVars = new LoadVars();
cargador_lv.onLoad = function(exito) {
    if (
exito) {
        
_root.numero_images this.numero_images;
    } else {
        
numero_images.text "Error!! :(";
    }
};
cargador_lv.load("images/novedades.txt");
_root.valorAleatorio Math.round(Math.random()*_root.numero_images);
this.createEmptyMovieClip("img_mc", ++nivel);
img_mc._x 0;
img_mc._y 0;
img_mc.loadMovie("images/novedades/foto_novedades/0"+_root.valorAleatorio+".jpg");
this.createEmptyMovieClip("bucle_mc", ++nivel);
bucle_mc.onEnterFrame = function() {
    if (
por != 100) {
        
loading_txt.text "Cargando";
        
por Math.round((img_mc.getBytesLoaded()/img_mc.getBytesTotal())*100);
        
por_txt.text = (Math.round(img_mc.getBytesLoaded()/1024))+"Kb de "+(Math.round(img_mc.getBytesTotal()/1024))+"Kb "+por+"%";
    } else {
        
this.unloadMovie();
        
img_mc._width 98;
        
img_mc._height 98;
        
nextFrame();
    }
};
stop(); 
prueba.

Salu2
__________________
http://www.flotdesign.dk/