Hi All,
I have textfields named 'strText' inside 10 movieclips named 'field0', 'field1', 'field2' .... and so on!
I'm trying to chech whether a field is empty or not and then set the selection to the first empty textfield.
But this doesn't work?
Give it up ... ;)PHP Code:function setFocus () {
for(i=0;i<10;i++) {
if(["field"+i].strText.text eq "") {
Selection.setFocus(["field"+i].strtext);
break;
}
}
}
//pod
