Arindam Report post Posted November 18, 2008 (edited) Hi Everybody, We tried implementing FusionMaps using SWFObject 2.0. Here is a small sample attached. SWFObject_Test.zip Edited November 18, 2008 by Guest Share this post Link to post Share on other sites
mahesh Report post Posted November 18, 2008 Thanks for the reply. I am using the same thing and it is running on my simple HTML but not working on my application's jsp. Pleaes let me know why this is not working on my jsp page???? Thanks Mahesh Share this post Link to post Share on other sites
FusionCharts Support Report post Posted November 18, 2008 Hi Mahesh, Please let us know the things in details that you are facing. Meahwhile, please check the path of the JS file, SWF files and XML files. Please also see whether you can execute any other JavaScript functions and please see if the SWFObject has beeb properly loaded. You can also try accessing the site from other machines. Share this post Link to post Share on other sites
mahesh Report post Posted November 18, 2008 Hi Sudipto, It is giving me "Error in loading data" error. Means swfobject.js is working but the problem seems to be in the way data is getting fetched from xml. Thanks Mahesh Share this post Link to post Share on other sites
FusionCharts Support Report post Posted November 18, 2008 Hi Mahesh, "Error in Loading Data" primarily means that you are providing wrong path of the XML. Please provide correct path(URL) to XML. ** Please note that you can NOT provide absolute path (URL). We have blocked taking absolute path to stop XSS attacks. Please use relative path. Hence, please do not provide any URL like "http://....". Only "data/myXMLfolder/xml.xml" (like this). The rule that we are following while blocking absolute url is 1. any string having a : character. So, no colon character in the XML path (dataURL) that you are providing. If this does not solve the issue, then set the debugMode to 1 so that the chart can show up the debug window. See whether a dataURL (i.e. URL to an XML file) ahs been provided to the chart). The debug window will report this. Hopefully, the path to the dataURL is the issue. Share this post Link to post Share on other sites
mahesh Report post Posted November 18, 2008 How to set the debug mode = '1' in swfobject2.0 by flash vars??? Share this post Link to post Share on other sites
FusionCharts Support Report post Posted November 18, 2008 hi mahesh, Hope Arindam's code might help you out in this. Please go through the code and find the secret of your own. Share this post Link to post Share on other sites
RationalRabbit Report post Posted June 4, 2010 Except than the link to his code does not download the zip file. The link says http://www.fusioncharts.com/forum/Attachment576.aspx , which resolves to another page that, as far as I can see, has no reference to swfobject2. Share this post Link to post Share on other sites