Now that the movie is set up, it's time to talk to the XML file!
On the actions layer, enter the following:
//create a new XML object
thisXML = new XML();
//ignore whitespace in the file
thisXML.ignoreWhite = true;
//call the LoadChartData function when the XML file is loaded
thisXML.onLoad = LoadChartData;
//load the xml file
thisXML.load("text.xml");
stop();
Replace the filename text.xml with the name of your XML file. LoadChartData is
the name of the function that will be run when the XML data has loaded.