ancora io......
ho una serie di dati da un xml che vanno inseriti in una clip che si doppia a seconda di quati sono i dati....
aor aho aggiunto una variabile che xo' non viene duplicata... mi fa vedere solo l'ultima why?!
script base
------------
slot._visible = false;
x = 20;
function printer ()
{
slot._y = -x;
for (i = 1; i < array.length; i=i+2)
{
duplicateMovieClip ( slot, "slot" + i, i );
slot = eval ( "slot" + i );
slot._y += x;
slot.header = array[i].header;
slot.link = array[i].link;
}
}
function struct (header, link)
{
this.header = header;
this.link = link;
}
-------------------------
script con mia aggiunta (probabilmente sbagliata)
-----------------------
slot._visible = false;
x = 50;
function printer ()
{
slot._y = -x;
for (i = 1; i < array.length; i=i+2)
{
duplicateMovieClip ( slot, "slot" + i, i );
slot = eval ( "slot" + i );
slot._y += x;
slot.header = array[i].header;
slot.link = array[i].link;
slot.img = array[i].img;
}
}
function struct (header, link , img)
{
this.header = header;
this.link = link;
this.img = img;
}
-------------------------
che ne dite .... è qua che sbaglio?!?!?

Rispondi quotando
sigh
