Sign in to follow this  
orenji

Need Help when putting loading xml file

Recommended Posts

Hi,

 

 

 

im trying to integrate fusionchart with my flash movie, but i have problem when load the xml file, and the chart result is always "No data to Display"

 

 

 

here's the action :

 


#include "com/fusioncharts/includes/LoadingFunctions.as"

#include "com/fusioncharts/includes/AppMessages.as"



import com.fusioncharts.core.charts.Column2DChart;



var xmlData:XML= new XML();



xmlData.load("xml/data.xml");



var chartContainerMC:MovieClip = this.createEmptyMovieClip("ChartHolder",1);

var myFirstChart:Column2DChart = new Column2DChart(chartContainerMC, 1, 450, 325, 20, 15, false, "EN", "noScale");

//Convey the XML data to chart. 

myFirstChart.setXMLData(xmlData);

//Draw the chart

myFirstChart.render();

//Stop

stop();

 

 

 

somebody please help me with this :crazy::crazy::crazy:

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this