Ciao.
Vorrei ripulire un po' il codice che ho usato ma non mi viene in mente la formula giusta.
Come faccio a scrivere in maniera più compatta la sequenza qui sotto?
_root.memory3_0 = topten[0];
_root.memory3_1 = topten[1];
_root.memory3_2 = topten[2];
_root.memory3_3 = topten[3];
_root.memory3_4 = topten[4];
_root.memory3_5 = topten[5];
_root.memory3_6 = topten[6];
_root.memory3_7 = topten[7];
_root.memory3_8 = topten[8];
_root.memory3_9 = topten[9];
E che ciclo posso usare per creare il seguente array?
topten = new Array(_root.memory3_0.split(","), _root.memory3_1.split(","), _root.memory3_2.split(","), _root.memory3_3.split(","), _root.memory3_4.split(","), _root.memory3_5.split(","), _root.memory3_6.split(","), _root.memory3_7.split(","), _root.memory3_8.split(","), _root.memory3_9.split(","));
Grazie mille.