Hi, I'm sure this is incredibly simple, however I'm having trouble
figuring it out.

I have a php script which connects to a db and returns standard xml.
What I want to do is choose which children from the repeating elements
to use.

Found this example and it works:

<mx:Repeater id="pointRepeater" dataProvider="{samplepoint}">
<mx:Text x="364" y="244"
text="{pointRepeater.currentItem.Sample_Point_Name}"/>
</mx:Repeater> 

My ArrayCollection is called 'samplepoint'.
XML is response.data.row

So lets say I have a combobox that I would like to specify which of
the child elements of my xml data I wish to use - how would I do this?

I've tried dataProvider="{samplepoint.Sample_Point_Name}"

The only way I could come close was to use
labelField="Sample_Point_Name", but this doesn't do much for me, since
I need to specify a data value.

I have looked to great length, I must be missing something. Thank you.

Reply via email to