Hi, The problem is with the line: vendors = new ArrayCollection(event.result as Array);
As per my understanding you must have defined something like <mx:ComboBox dataProvider = {vendors}/> So the data provider is bound to the one particular instance of array collection named vendors. If there is any change to it, that would be reflected. But if you try to reinitialize the same varibale (vendor) that particular instance is not there and no question of changes being reflected. So make changes to that instance only and then it would be reflected. Cheers, Akhil On Mar 26, 8:58 pm, Akshar Kaul <akshar.k...@gmail.com> wrote: > try > > public function vndListHandler(event: > ResultEvent):void > { > vendors.removeAll(); > vendors = new ArrayCollection(event.result as Array); > vendors.refresh(); > } > > Akshar Kaul > > > > On Fri, Mar 26, 2010 at 20:16, genius818 <kairi.coo...@gmail.com> wrote: > > So let me know if I have this correct because I believe I am already > > doing what you are suggesting, but my combobox doesn't display the new > > value that has been inserted in the database and returned in the > > array. When I debug the code I can see that the new value is in the > > array, but combo in the app doesn't show the new list of values in the > > array. How do I refresh the combo to show the newly added list. > > > [Bindable] > > public var vendors:ArrayCollection = new > > ArrayCollection(); > > > public function vndListHandler(event:ResultEvent):void > > { > > vendors.removeAll(); > > vendors = new ArrayCollection(event.result as Array); > > } > > > On Mar 26, 12:50 am, Dinesh Reddy Rekula <rdr1...@gmail.com> wrote: > > > Hi > > > > Enable [Bindable] property on the array collection. > > > > For Example, > > > [Bindable] > > > private var arr:ArrayCollection = new ArrayCollection(); > > > > Thanks, > > > Dinesh > > > > On Fri, Mar 26, 2010 at 12:19 AM, genius818 <kairi.coo...@gmail.com> > > wrote: > > > > I have an array collection that I am refreshing using an Remote > > > > Object. The array collection is binded to a combobox, but my probelm > > > > is that when I refresh the array it doesn't refresh options for the > > > > combo. Any suggestions? > > > > > -- > > > > 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_in...@googlegroups.com. > > > > To unsubscribe from this group, send email to > > > > flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> > > <flex_india%2bunsubscr...@googlegroups.com> > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/flex_india?hl=en.-Hide quoted text - > > > > - Show quoted text - > > > -- > > 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_in...@googlegroups.com. > > To unsubscribe from this group, send email to > > flex_india+unsubscr...@googlegroups.com<flex_india%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/flex_india?hl=en.- Hide quoted text - > > - Show quoted text - -- 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_in...@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.