Hi, In Flex each control has an id which is unique in entire application also which is the reference to the control.
For example, see the following code: <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"> <mx:TabBar dataProvider="vs"></mx:TabBar> <mx:ViewStack id="vs" width="500" height="300" backgroundColor="0xCCCCCC"> <mx:Form id="frm1" label="screen1" width="100%" height="100%"> <mx:FormItem label="Enable:"><mx:CheckBox id="enable_ch" selected="false"></mx:CheckBox></mx:FormItem> </mx:Form> <mx:Form id="frm2" label="screen2" width="100%" height="100%" enabled="{enable_ch.selected}"> <mx:TextInput id="_ti" text="{enable_ch.selected ? 'Enabled' : 'Disabled'}"/> </mx:Form> </mx:ViewStack> </mx:Application> Switch between views by click on tabs, check/uncheck checkbox on first screen to see its effect on other screen. So it shows, you can access a control using it's id. Hope that helps -abdul -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 20, 2005 11:16 PM To: [email protected] Subject: [flexcoders] Enable/disable UI I have a view stack container with some view children ( entry forms ). The problem I have is that I want to enable/disable some entry forms based on a value of an input field that is collected on the first screen. How can I do that?. Thanks, Valy __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ Yahoo! Groups Links Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

