show_big_photo=function(photo) {
        
        this.createEmptyMovieClip("bigfoto", 13500);
        
        bigfoto._alpha=0;
        loadMovie("fotos/"+photo[0]+"_b.jpg","bigfoto");
        
        data=new Array();
        
        data[line,col,2]=photo[2];
        

        var bf = setInterval(function (mc,data) {
                estabigfoto=mc["bigfoto"];
        
                        
                if ((mc["bigfoto"].getBytesLoaded() <= 1) || 
                          (mc["bigfoto"].getBytesLoaded() <
(mc["bigfoto"].getBytesTotal()-10)) ) 
            { 
                
                //if (estabigfoto.getBytesLoaded() > 1) {
                
attachMovie("mc_loading_percent","mc_loading2",100000);
        mc_loading2._x=bfcenterx-(mc_loading2._width/2);
        mc_loading2._y=bfcentery-(mc_loading2._height/2);
                
percent=(estabigfoto.getBytesLoaded())/estabigfoto.getBytesTotal();
                        percentatge=Math.floor((16*percent));
                        pagefoot.text=steps+" "+percent+"%,
"+estabigfoto.getBytesLoaded()+" of
"+estabigfoto.getBytesTotal();
                        steps++;
                        mc_loading2.removeMovieClip();
                        mc_loading2.gotoandplay(percentatge+1);
                        
                //}
            } else {
 
                        
//pagefoot.text="popo"+estabigfoto.getBytesLoaded()+"
of "+estabigfoto.getBytesTotal();
 
                 estabigfoto._alpha = 99;
                clearInterval(bf);
                         mc_loading2.removeMovieClip();
                         if (estabigfoto._width>estabigfoto._height)
                         {              
                                orient="h";
                         } else         {       
                                orient="v";
                         }
                        
                  //etc...etc....esto funciona bien

                                }
   }, 80, this,data);  
}


                
______________________________________________
Renovamos el Correo Yahoo!: ˇ100 MB GRATIS!
Nuevos servicios, más seguridad
http://correo.yahoo.es
----------------------------------
Lista ASNativos:[EMAIL PROTECTED]
http://www.5dms.com/listas
----------------------------------

Responder a