Ver Mensaje Individual
  #2 (permalink)  
Antiguo 26/09/2008, 15:16
Avatar de Lynxcraft
Lynxcraft
 
Fecha de Ingreso: noviembre-2007
Ubicación: yecla murcia
Mensajes: 1.346
Antigüedad: 16 años, 4 meses
Puntos: 51
Respuesta: Llenar una barra vacia de color para precarga

lo puedes hacer de muchas maneras Xd
buena idea es que te crees una mc_marco y dentro dibujes un marco con lineas en los bordes debajo create otro mc_relleno del color que quieras, simplemente coloca un scale al mc_relleno

Código PHP:
stop();
var 
persent1 0;
var 
status1 true;
this.onEnterFrame = function ()
{
    if (
this.status1 == true
    {
     
        
this.total_frame1 this.getBytesTotal();
        
this.current_frame1 this.getBytesLoaded();
        
persent1 Math.floor(this.current_frame1 this.total_frame1 100);
        
        
porsentaje.text persent1 "%";
        
mc_relleno_xscale=persent1
        
if (this.current_frame1 == this.total_frame1
        
        
        {
           
delete (this.onEnterFrame);
           
            var 
status1 false;
           
this.play();
            
        }
    }
}

no se si me explico bien XDXD
__________________
Sobran las ideas cuando faltan ganas de trabajar en ellas
Lynxcraft