Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Not able to populate data in the combo box


Level 1
Hi Guys,

I m new to flex development and I want to populate the data
coming from the databasein the combobox.I am able to get the length
.but not able to populate the data.

Can anyone helpme out?

The code is below:

The data displayed in the combox box is displayed as
[object],[object] etc.I m sure that the data is coming from the
database and its not populated in the combo box.any help is

private function getParkinfo(event:ResultEvent):void


countries.dataProvider = event.result;


<mx:ComboBox id="countries" />

1 Reply


Level 1
What does the data look like in the result? Is it XML? Post a
sample of it.