Ver Mensaje Individual
  #12 (permalink)  
Antiguo 19/02/2008, 05:51
crg
 
Fecha de Ingreso: febrero-2008
Mensajes: 23
Antigüedad: 16 años, 2 meses
Puntos: 0
Re: Galeria de imagenes

Ahora me surge otro problema, ye s que al cargar una imagen en un nuevo holder me sale por detras del resto de fotos, aunque le ponga un numero alto:
Adjunto el codigo:
for (i=0; i<total; i++)
{

_root.attachMovie("fotos", "fotos"+i, i);
_root["fotos"+i].createEmptyMovieClip("contiene", i);
if ((i)%9==0)
{
fila=fila+1
columna=0;
}
else
{
columna=columna+1;
}

_root["fotos"+i]._y = 75*(fila)+55;
_root["fotos"+i]._x = 60*(columna+1);
_root["fotos"+i].contiene.loadMovie("../imgs/img_01_ZW_P.png");

cuadro._visible=false;
_root["fotos"+i].onRollOver = function ()
{

_global.imagenx=this._x;
_global.imageny=this._y;

holder.loadMovie("../imgs/img_01_ZW_G.png);
cuadro._visible=false;




var my_fmt:TextFormat = new TextFormat();
my_fmt.color = 0x000000;
my_txt.text = this._name;
my_txt.setTextFormat(my_fmt);


}
_root["fotos"+i].onRollOut = function ()
{
holder.unloadMovie();
cuadro._visible=false;
my_txt._visible=false;
}


}