How to put form items in view stack in flex?, so that i can get selected form item through one comboBox
+1
A:
<mx:ComboBox id="cb">
<mx:dataProvider>
<mx:Array>
<mx:String>Label-1</mx:String>
<mx:String>Label-2</mx:String>
<mx:String>Label-3</mx:String>
</mx:Array>
</mx:dataProvider>
</mx:ComboBox>
<mx:ViewStack id="vs" selectedIndex="{cb.selectedIndex}">
<mx:FormItem label="Label-1">
<mx:TextInput/>
</mx:FormItem>
<mx:FormItem label="Label-2">
<mx:TextInput/>
</mx:FormItem>
<mx:FormItem label="Label-3">
<mx:TextInput/>
</mx:FormItem>
</mx:ViewStack>
Amarghosh
2009-11-26 09:45:42
Thanks Amarghosh....am learning much from you in flex,
Thirst for Excellence
2009-11-26 19:08:44
You are welcome.
Amarghosh
2009-11-27 04:15:19