Ou então assim: var vbox:VBox = new VBox(); var ti:TextInput;
ti = vbox.addChild(new TextInput()) as TextInput; /* manipula ti */ ti = vbox.addChild(new TextInput()) as TextInput; /* manipula ti */ ti = vbox.addChild(new TextInput()) as TextInput; /* manipula ti */ ti = vbox.addChild(new TextInput()) as TextInput; /* manipula ti */ -- Gustavo Y. Kawamoto 2008/11/12 gabriela perry <[EMAIL PROTECTED]> > var vbox:VBox = new VBox(); > var ti1:TextInput=new TextInput; > > vbox.addChild(ti1) > > etcetcetc > > > > Gabriela Trindade Perry - http://www.gabriela.trindade.nom.br > > > > > > ------------------------------ > Date: Wed, 12 Nov 2008 10:40:20 -0200 > From: [EMAIL PROTECTED] > To: flexdev@googlegroups.com > Subject: [flexdev] campos dinamicos > > Em flex eu posso fazer: > > var vbox:VBox = new VBox(); > > vbox.addChild(new textInput()); > > > isso é tranquilo, agora, supondo que eu tenha: > > var vbox:VBox = new VBox(); > > vbox.addChild(new textInput()); > vbox.addChild(new textInput()); > vbox.addChild(new textInput()); > vbox.addChild(new textInput()); > > como eu referenciaria e manipularia o segundo textInput por exemplo? > > -- > "E se o meu povo, que se chama pelo meu nome, se humilhar, e orar, e buscar > a minha face e se converter dos seus maus caminhos, então eu ouvirei dos > céus, e perdoarei os seus pecados, e sararei a sua terra." 2° Cr 7:14 > > > > ------------------------------ > Explore the seven wonders of the world Learn > more!<http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE> > > > --~--~---------~--~----~------------~-------~--~----~ Você recebeu esta mensagem porque está inscrito na lista "flexdev" Para enviar uma mensagem, envie um e-mail para flexdev@googlegroups.com Para sair da lista, envie um email em branco para [EMAIL PROTECTED] Mais opções estão disponíveis em http://groups.google.com/group/flexdev -~----------~----~----~----~------~----~------~--~---