si ma dovrei creare una serie di text di input in base ad un numero che darò da input e poi i valori che prendo da questi textfield deve essere messi un array, quindi o metto i textfield in un array oppure devo trovare un modo per poter comunque in qualche modo scorrere le varie celle... come fare visto che non posso crearli tramite l'uso del 'new'..![]()
arTextIn = new Array(new Array(num1), new Array(num2));
var xx = k*100;
var yy = k*100;
var l = 50;
var h = 100;
var arText = "nome"+n;
//this.createTextField("arText"+n,1,xx,yy,l,h);
arTextIn[i][k] = this.createTextField(arText,1,xx,yy,l,h);
arTextIn[i][k].color = 0xFF0000;
arTextIn[i][k].text = "This is my first test field object text."+n;
n++;


Rispondi quotando