Sign in to follow this  
pplingling

problem when export as image

Recommended Posts

Column2D.html:

<head>

<script language="JavaScript" src="../JSClass/FusionCharts.js"></script>

<script language="JavaScript" src="../JSClass/FusionChartsExportComponent.js"></script>

</head>

<body bgcolor="#ffffff">

<div id="chartdiv" align="center">The chart will appear within this DIV. This text will be replaced by the chart.</div>

<script type="text/javascript">

  var myChart = new FusionCharts("../Charts/Column2D.swf", "myChartId", "500", "300", "0", "1");

  myChart.setDataURL("Data/Column2D.xml");

  myChart.render("chartdiv");

</script>

<div id="fcexpDiv" align="center">FusionCharts Export Handler Component</div>

<script type="text/javascript">

  var myExportComponent = new FusionChartsExportObject("fcExporter1", "../Charts/FCExporter.swf");

  myExportComponent.Render("fcexpDiv");

</script>

</body>

</html>

When I open the html in Firefox , I encounter the error:

SecurityError: Error #2060: ??????:ExternalInterface ??? file:///D:/FusionCharts/FusionCharts_Evaluation/FusionCharts_Evaluation/Charts/FCExporter.swf ???? file:///D:/FusionCharts/FusionCharts_Evaluation/FusionCharts_Evaluation/Gallery/Column2D.html?

 at flash.external::ExternalInterface$/_initJS()

 at flash.external::ExternalInterface$/addCallback()

 at com.fusioncharts.exporter::FCExporter()

Thanks a lot!

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