Sign in to follow this  

Movie not loaded( New to the fusionchart)

Recommended Posts

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.





       var myChart = new FusionCharts("./FusionCharts/Pie3D.swf", "myChartId", "900", "300", "0", "0");

       alert("Hi mychart");



       alert("Hi data.xml");








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

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?





Share this post

Link to post
Share on other sites

Hi Pankaj,

You are welcome. :D

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 :D

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