Comunidad de diseño web y desarrollo en internet online

ayuda para entender esta linea de tiempo.

Citar            
MensajeEscrito el 22 Sep 2006 03:49 pm

tengo q hacer esta banner con un efecto y sonido. lo hice pero en 2 frames,frame por frame, no como me lo han indicado. ademas tengo q aplicar este action:
// Action script...

// [Action in Frame 1]
stop();
barra.onLoad = function ()
{
this._xscale = 0;
};
this.onEnterFrame = function ()
{
porcentaje = Math.round(getBytesLoaded() / getBytesTotal() * 100);
estado = porcentaje + " %";
barra._xscale = porcentaje;
if (porcentaje == 100)
{
delete estado;
barra._visible = 0;
delete this["onEnterFrame"];
gotoAndPlay(5);
} // end if
};

stop();
barra.onLoad = function ()
{
this._xscale = 0;
};
this.onEnterFrame = function ()
{
porcentaje = Math.round(getBytesLoaded() / getBytesTotal() * 100);
estado = porcentaje + " %";
barra._xscale = porcentaje;
if (porcentaje == 100)
{
delete estado;
barra._visible = 0;
delete this["onEnterFrame"];
gotoAndPlay(10);
} // end if
};

// [Action in Frame 2]
gotoAndStop(1);

// [Action in Frame 36]
stop();

Por benji

5 de clabLevel



 

msie
Citar            
MensajeEscrito el 22 Sep 2006 04:16 pm
no repitas posts. cerrado

Por Mariux

BOFH

7756 de clabLevel

28 tutoriales
15 articulos

Genero:Femenino   Héroes Editores

Diseñadora & ilustradora

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.