I have a similiar problem:
My XML is:
<SDLIST>
<chartlist>
<reportname>FACTORY STATUS</reportname>
<reportimage>file:/D:/Work/RapidReport/Images/Charts/Vertical-Linear-Gauges.png</reportimage>
</chartlist>
<chartlist>
<reportname>FACTORY STATUS</reportname>
<reportimage>file:/D:/Work/RapidReport/Images/Charts/Vertical-Linear-Gauges.png</reportimage>
</chartlist>
</SDLIST>
My Datagroup:
<s:DataGroup x="10" y="42" width="696" height="414"
itemRenderer="myComponents.ChartListComp" dataProvider="{new
XMLListCollection(XML(getSpeedDialList.lastResult).SDLIST.charlist)}">
My HttpService:
<mx:HTTPService resultFormat="e4x" id="getSpeedDialList"
url="{serverURL}/Reporting/GetSpeedDial.xml" useProxy="false" method="POST"
fault="Alert.show('There has been an a problem with the connection.\nPlease
check your internet connnection and try again.' + getSpeedDialList.url
,'Connection Error')" showBusyCursor="true" >
My Item Renderer:
is using {data.reportimage}
Now using the XMLListCollection method I get around the proxy and list
coersion problems,
but the result is my datagroup is showing nothing.
Any ideas where I am going wrong?
--
View this message in context:
http://old.nabble.com/DataGroup-and-XML-problem-tp29641666p29641666.html
Sent from the FlexCoders mailing list archive at Nabble.com.