Re: [flexcoders] Populating comboBox

2008-01-10 Thread Abdul Qabiz
ComboBox or most of the list-base components expect label and data properties in dataProvider. If your dataProvider has different properties, you can use the labelField or labelFunction fields to show the label (which in this case is showing [Object Object]). Check out the ComboBox (or Listbase)

[flexcoders] Populating comboBox

2008-01-10 Thread candysmate
I'm tring to populate a comboBox with var dsWeek:Array = []; [Bindable] var dsWeekArray = new ArrayCollection(dsWeek); var systemUtilitiesWeek:int = 35; private function initDissection():void { dsWeekArray.addItem({week:"Select"}); for(var ds1:int = 1; ds1 <= syst

RE: [flexcoders] Populating ComboBox from Model/XML

2006-07-24 Thread Tracy Spratt
m: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John Mazzocchi Sent: Friday, July 21, 2006 2:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Populating ComboBox from Model/XML   Hi, newbie question here ... just learning. I'm using Flex 2. There seem to be n

[flexcoders] Populating ComboBox from Model/XML

2006-07-21 Thread John Mazzocchi
Hi, newbie question here ... just learning. I'm using Flex 2. There seem to be numerous errors and typos in the Adobe Flex Help files/PDFs and I'm hitting a snag here ... What I'd like to do, to begin with, is to populate a ComboBox from an external XML file. The section in the help files calle