
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...
Código :
// [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();****sino sale la foto comop hago pa q la vean. puse la instruccion primera y no sale)
usa las etiquetas code para postear tu codigo
