Hello!
Does anyone recognize this problem?
I am trying to pull this xml into a Flash component by way of php but it is not working.
It works when I define just an xml like this:
**[COLOR=Red]myChart.setSource(“http://www.sitename.com/includes/xmlgen.xml”);[/COLOR]
but not as below: (it does show the grid-lines ([COLOR=Red]grid_lines=“5”[/COLOR]) as defined in the xml though)
[COLOR=Red]myChart.clearChart();
var resultString = "http://www.[/COLOR]****[COLOR=Red]sitename[/COLOR]****[COLOR=Red].com/includes/xmlgen.php?cid=47047"
var xmlObject:XML = new XML()
xmlObject.onLoad = function(success) {
myChart.setSource(xmlObject)
}
xmlObject.load(resultString)
[/COLOR][COLOR=Red][COLOR=Black]Here is the xml:[/COLOR][/COLOR][COLOR=Red]
<?xml version=“1.0” encoding=“utf-8”?>
<chart min=“0” padding=“5” grid_lines=“5” type=“bar”>
<bar title="Old Navy" color="0xD90000" value="300000" />
<bar title="The Gap" color="0xD90000" value="610000" />
<bar title="Hollister" color="0xD90000" value="755000" />
<bar title="Amer._Eagle" color="0xD90000" value="900002" />
<bar title="Fourteen_Chars" color="0xD90000" value="255000" />
</chart>[/COLOR]
**
Thank you in advance!
Dann