Ver Mensaje Individual
  #3 (permalink)  
Antiguo 16/08/2007, 01:13
bury1000
 
Fecha de Ingreso: agosto-2007
Mensajes: 8
Antigüedad: 16 años, 8 meses
Puntos: 0
Pregunta Re: Como Cargar una Imagen Externa en la capa del Fondo

Hola Bandit! Gracias por tu pronta respuesta. La verdad es que aun soy un poco novato con el tema flash, hago mis pinitos por eso... Esto del MC_ no acabo de tenerlo muy claro. Yo tengo creados los thumbnails como botones, ok? y a los botones les ordeno lo siguiente:

on (release)
{
alfa = function (clip)
{
this.createEmptyMovieClip("loop", 3);
loop.onEnterFrame = function ()
{
clip._alpha = clip._alpha + 10;
if (clip._alpha >= 100)
{
delete loop["onEnterFrame"];
} // end if
};
};
this.createEmptyMovieClip("cargador", 1);
this.createTextField("porcentaje", 2, 10, 10, 200, 16);
this.cargador._x = -385;
this.cargador._y = -325;
this.ancho = 770;
this.alto = 650;
this.cargador.loadMovie("img/1.jpg");
this.cargador._alpha = 0;
with (this)
{
lineStyle(2, 0, 100);
moveTo(this.cargador._x, this.cargador._y);
lineTo(this.cargador._x + this.ancho, this.cargador._y);
lineTo(this.cargador._x + this.ancho, this.cargador._y + this.alto);
lineTo(this.cargador._x, this.cargador._y + this.alto);
lineTo(this.cargador._x, this.cargador._y);
} // End of with
this.onEnterFrame = function ()
{
var _l2 = this;
_l2.cargador.percent = _l2.cargador.getBytesLoaded() / _l2.cargador.getBytesTotal() * 100;
if (!isNan(_l2.cargador.percent))
{
_l2.porcentaje.text = Math.round(_l2.cargador.percent) + " %";
} // end if
if (_l2.cargador.percent == 100)
{
_l2.porcentaje.removeTextField();
alfa(_l2.cargador);
delete _l2["onEnterFrame"];
} // end if
};
}

Y lo he provado todo, y a estas alturas ya no me creo capaz de conseguirlo. El Actionscript se me resiste. Me puedes orientar con un poquillo mas de detalle, por favor? Gracias y un abrazo bien fuertote a los amigos Chilenos que han sufrido esta madrugada y que tengan todo el apoyo de Dios!