Input fields[f8]

Hi There

I wonder if someone can help - I have a number of input fields on stage that a user can enter info into.

How can I go to the next input field when info has already been entered?

thanks

for (var n:Number = 1; n<=boxselecton.length; n++) {
        var txtSelect = boxselecton[n].textfld;
        txtSelect.restrict = "a-z";
        boxselecton[n].textfld.nextField = boxselecton[Number(n)+1].textfld != undefined ? boxselecton[Number(n)+1].textfld : boxselecton[n].textfld;
        txtSelect.onSetFocus = function() {
            this.text = "";

        };
        txtSelect.onChanged = function() {
            total++;
            Selection.setFocus(this.nextField);
        };
    }