Hi Sankar, Just add an eventListener to every combobox you are generating dynamically like this:
var cb:ComboBox = new ComboBox(); cb.addEventListener(ListEvent.CHANGE,changeHandler); And then in the changeHandler you can access the currentTarget property to get hold of that particular combobox. private function changeHandler(e:ListEvent):void{ var obj:object = (e.currentTarget as ComboBox).selectedItem; } Hope this helps. -Ravi On Apr 1, 8:56 pm, sankar swaroop <sankaras...@gmail.com> wrote: > Here iam creating more than one at runtime based on the user selection > so i want to get all the data from all the combo boxes > > On Wed, Apr 1, 2009 at 9:16 PM, sankar swaroop <sankaras...@gmail.com>wrote: > > > Hi friends, > > > In my application i am creating a combobox dynamically > > with data through HttpService at run time. > > The problem here is how can i get the selected item from that dynamically > > generated combobox at runtime. > > > Please help me. > > > Thanks..... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_india@googlegroups.com To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---