Re: [flexcoders] DataGroup and XML problem

2010-09-09 Thread Craig McLeod
Hi Alex, Firstly thank you so much for your reply. When I try the first option you suggested: {new XMLListCollection(XMLList(getSpeedDialList.lastResult).SDLIST.charlist)} I stop getting errors, but the item renderer shows nothing. The second option pulls errors 1119 and 1118. I

Re: [flexcoders] DataGroup and XML problem

2010-09-09 Thread Craig McLeod
SOLVED thanks to a...@adobe I changed my resultType=E4X and then used {new XMLListCollection(XMLList(getSpeedDialList.lastResult).chartlist)} This solved the problem perfectly. It's important to remember that when using E4X the first node is ignored in your xml. But with out the list

Re: [flexcoders] DataGroup and XML problem

2010-09-08 Thread Alex Harui
Try: s:DataGroup x=10 y=42 width=696 height=414 itemRenderer=myComponents.ChartListComp dataProvider={new XMLListCollection(XMLList(getSpeedDialList.lastResult).SDLIST.charlist)} Or s:DataGroup x=10 y=42 width=696 height=414 itemRenderer=myComponents.ChartListComp dataProvider={new