Assuming the first ComboBox has an array of arrays (or models), then yeah! <mx:ComboBox id="main_cb" dataProvider="{brandModel.type}" change=""> <mx:ComboBox id="sub_cb" dataProvider="{main_cb.selectedItem.colors}" change="">
Where colors is a nested object/array. ----- Original Message ----- From: "Ghislain Simard" <[EMAIL PROTECTED]> To: <flexcoders@yahoogroups.com> Sent: Tuesday, July 26, 2005 9:34 AM Subject: [flexcoders] ComboBox selection change another ComboBox visible item Is there an easy way to get populated a ComboBox based on the selection of another ComboBox? Like in the example below if I select Volvo, I want to see Red,Blue in colorModel. If I select BMW, I want to see all the color in colorModel <mx:ComboBox datProvider="{brandModel.type}" change=""> <mx:ComboBox datProvider="{colorModel.type}" change=""> <mx:Model id="brandModel"> <type> <label>Volvo</label> <data>122</mx:data> </type> <type> <label>BMW</label> <data>126</mx:data> </type> </mx:Model> <mx:Model id="colorModel"> <type> <label>Blue</label> <data>67</mx:data> </type> <type> <label>Red</label> <data>68</mx:data> </type> <type> <label>Black</label> <data>69</mx:data> </type> </mx:Model> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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/