Hello, I have a nested repeater... I have a combobox for each region (see the XML in my code)...under the combobox I wolud like to list the crops available in the selected region ...when the user change the value of the combo, the checkox of the combo are to be updated..this is my code, and the question is how setting the value of the cb index:
...THANKS A LOT <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ns1="*"> <mx:VBox width="50%"> <mx:Repeater id="rep1" dataProvider="{src.region}"> <mx:ComboBox id="cb" dataProvider="{src.region}" labelField="@descr"/> <mx:Repeater id="rep2" dataProvider="{cb[???????].selectedItem.crop}"> <!--??????? how identify the actual index of the repeted component cb--> <mx:CheckBox label="[EMAIL PROTECTED]"/> </mx:Repeater> </mx:Repeater> </mx:VBox> <mx:XML xmlns="" id="src"> <table_region> <region descr="Flevoland"> <crop descr="Potato"/> <crop descr="Grass"/> </region> <region descr="Midi-Pyrenees"> <crop descr="Potato"/> <crop descr="Carrot"/> <crop descr="Sugarbeet"/> </region> <region descr="Brandenburg"> <crop descr="Potato"/> <crop descr="Carrot"/> </region> </table_region> </mx:XML> </mx:Application>

