Ver Mensaje Individual
  #3 (permalink)  
Antiguo 30/06/2008, 17:28
Avatar de Lynxcraft
Lynxcraft
 
Fecha de Ingreso: noviembre-2007
Ubicación: yecla murcia
Mensajes: 1.346
Antigüedad: 16 años, 5 meses
Puntos: 51
Respuesta: Necesito crear un preloader en Flash CS3, alguien me da una mano?

hola prueba con este script

Código PHP:
stop();
var 
porsentage1 0;
var 
estado1 true;
this.onEnterFrame = function ()
{
    if (
this.estado1 == true
    {
        
this.myclip._visible false;
        
this.myclip.stop();
        
this.total_frame1 this.getBytesTotal();
        
this.current_frame1 this.getBytesLoaded();
        
porsentage1 Math.floor(this.current_frame1 this.total_frame1 100);
        
this.barra._xscale porsentage1;
        
this.txtporcentage porsentage1 "%";
        if (
this.current_frame1 == this.total_frame1
        {
            
this.myclip._visible true;
            
this.myclip.play();
            
this.play();
            var 
estado1 false;
        }
    }
}

colócalo en el primer fotograma

create un texto dinamico que cuya var lleve por nombre txtporcentage
un clip de pelicula llamada barra

en el segundo frame coloca este codigo

Código PHP:
delete (this.onEnterFrame); 
a partir del tercer fotograma ya puedes poner el contenido te tu flash

suerte