rdx_guy Report post Posted January 21, 2010 Hi There, First of all, let me congratulate you on such a wonderful product. I have downloaded the free edition and wanted to play with it but seems I have stuck in the first phase itself. Movie is not loading and on right click I am getting "Movie not loaded" as disabled.. I am using Springs and embedding FusionCharts.js in my page and then creating and tryign to render fusionchart object. alert("Hi"); var myChart = new FusionCharts("./FusionCharts/Pie3D.swf", "myChartId", "900", "300", "0", "0"); alert("Hi mychart"); alert(myChart); myChart.setDataURL("./FusionCharts/Data.xml"); alert("Hi data.xml"); myChart.render("chartdiv"); alert("rendering"); This jsp file is under "C:ProjectsLMWebContentWEB-INFjspspendcache". and swf and xml files are in "C:ProjectsLMWebContentFusionCharts" folder. Could you please let me know if I am missing anything here.. well, this jsp page has a div also with the id chartdiv.. Share this post Link to post Share on other sites
srividya_sharma Report post Posted January 21, 2010 Hi Pankaj, I think the path to the .swf file is incorrect. Please try specifying - FusionCharts/Pie3D.swf Hope this helps. Srividya Share this post Link to post Share on other sites
rdx_guy Report post Posted January 21, 2010 Thanks Srividya.. it helped.. btw I would like to bug you again :hehe: How come this path is working?? could you please put some light on it? Pankaj Share this post Link to post Share on other sites
srividya_sharma Report post Posted January 21, 2010 Hi Pankaj, You are welcome. Since the jsp is inside WEB-INF/jsp/spendcache, using "./FusionCharts/Pie3D.swf" indicates that the Pie3D.swf file is present in the same directory as the jsp file which is WEB-INF/jsp/spendcache. When you use "FusionCharts/Pie3D.swf", it takes the path from the root, which would be "C:ProjectsLMWebContent". Srividya Share this post Link to post Share on other sites