Re: [flexcoders] Finding all TextInputs in a Panel

2007-04-24 Thread Daniel Freiman
for...in iterates over properties. Unless you've subclassed the panel and gave each TextInput child its own variable, then this won't give you a Container's children. What you want is to iterate over the children: for (var i:int = 0; i panel.getChildren().length; i++) { var

RE: [flexcoders] Finding all TextInputs in a Panel

2007-04-24 Thread Andrew Trice
, 2007 3:16 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Finding all TextInputs in a Panel for...in iterates over properties. Unless you've subclassed the panel and gave each TextInput child its own variable, then this won't give you a Container's children. What you want