Quiero generar dinámicamente o por un for lo siguiente:
Código ActionScript :
MC_tx1.tx_1.htmlText = text0; MC_tx2.tx_2.htmlText = text1; MC_tx3.tx_3.htmlText = text2; .........
de esa manera hasta el 80 + o -
El asunto es que no quiero estar creando una a una y es por eso que estaba intentando hacer algo como esto.
Código ActionScript :
var h;
h=1;
for(var i : int=0;i<80;i++){
this["text"+i] = xmlList[i];
}
for(var j : int=0;j<80;j++){
this["MC_tx"+h]."tx_"+h.htmlText = this["text"+j];
trace(j);
h++;
}Y de distintas manera lo probe:
Código ActionScript :
this["MC_tx"+h].["tx_"+h].htmlText = this["text"+j]; this["MC_tx"+h+".tx_"+h].htmlText = this["text"+j]; ........
Y muchas otras mas y nada
