--- In flexcoders@yahoogroups.com, "creativepragmatic" <[EMAIL PROTECTED]> wrote:
I solved my own problem by changing the backend query to the following: SELECT cid AS data, category AS label FROM... > > Hi Guys, > > This should be a simple task so I'm hoping the answer will be > painfully obvious to someone. > > I'm trying to populate a combobox from the results of a remote object > using the following method: > > > <mx:ArrayCollection id="acCategories" > source="{ArrayUtil.toArray(categoriesRO.getOperation('getCategories').lastResult)}"/> > > <mx:ComboBox id="cboCategories" dataProvider="{acCategories}"> > > > The length of the array collection is only 1 regardless of how many > categories are returned. For example, if 3 categories are returned, > the combobox fills with this: > > [object Object],[object Object],[object Object] > > Thanks in advance for any help. >