Conceptually:
For each child in Form{
if(child is TextInput) add to Array
}
But, this approach seems odd to me; so I have to wonder what you're
doing. Maybe you want to look up binding and the mx:Model tag.
Kim Hoopingarner wrote:
> I was hoping there was an easy way to loop through a form/document and store
> all instances of an <mx:TextInput> box in an array for other uses later in my
> code.
>
> Someone have any ideas what I should do? I have tried everything I know to
> do - but that is a limited source of creativity since I'm fairly new to Flex.
>
> Thanks!
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:5811
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37