codice:
for (i=0; i<=idvolo.length-1; i++) {
attachMovie("ret", "ret_mc"+i, i);
attachMovie("pul", "Pul_btn"+i, i+7);
mc = this["ret_mc"+i]
btn = this["Pul_btn"+i]
mc._x = 30;
mc._y =60*i+10;
btn._x = 30;
btn._y =60*i+10;
mc.id = "id: "+idvolo[i]
btn.urlvolo2 = urlvolo[i];
btn.onPress =function(){
getURL("http://"+this.urlvolo2);
}
btn.onRollOver =function(){
mc._x = 60;
mc._alpha=50
}
btn.onRelease =function(){
mc._x = 30;
mc._alpha=100
}
btn.onRollOut =function(){
mc._x = 30;
mc._alpha=100
}
hpartenza = "alle: "+hpartenza[i]
mc.partenza = "Partenza da: "+partenza[i]
mc.harrivo = "alle: "+harrivo[i]
mc.arrivo = "Arrivo da: "+arrivo[i]
if (val[i]=="true") {mc.ritardo = "Ritardo: "+ritardo[i]}
}