views:

59

answers:

0
public var fieldInputs:Array=[];
var count:uint = 0;
var textInputs:Array /* of TextInputs */ = [];
for(var i:String in columnsData){
    textInputs[count] = new TextInput();

    addChild(textInputs[count]);
    count++;
}



public function ContinclickHandler():void {

    if(contin.label == "Continue") {
        Alert.show("Inside");
        //first
        Alert.show(fieldInputs[0].text.toString());
    }
}

So here I am accessing fieldInputs[0] in separate function but I cant show it flex script but the inside message in Alert is coming why not fieldinputs