FusionCharts Forum: Using SWFObject 2.0 with FusionMaps - FusionCharts Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Using SWFObject 2.0 with FusionMaps How to use FusionMaps using SWFObject 2.0 ?

#1 User is offline   Arindam 

  • Supreme Being
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 730
  • Joined: 14-September 07

Posted 18 November 2008 - 05:36 AM

Hi Everybody,

We tried implementing FusionMaps using SWFObject 2.0. Here is a small sample attached.

Attached File(s)


Thanks,

Arindam
0

Other Replies To This Topic

#2 User is offline   mahesh 

  • Advanced Member
  • PipPipPipPip
  • Group: Members
  • Posts: 60
  • Joined: 11-November 08

Posted 18 November 2008 - 07:08 AM

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
mahesh
0

Other Replies To This Topic

#3 User is offline   Sudipto Choudhury 

  • Supreme Being
  • Group: Administrators
  • Posts: 1886
  • Joined: 19-March 07

Posted 18 November 2008 - 07:24 AM

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.

Regards,

Sudipto Choudhury
FusionCharts Team

Follow us on Twitter

I code, therefore I am.

0

Other Replies To This Topic

#4 User is offline   mahesh 

  • Advanced Member
  • PipPipPipPip
  • Group: Members
  • Posts: 60
  • Joined: 11-November 08

Posted 18 November 2008 - 07:32 AM

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
mahesh
0

Other Replies To This Topic

#5 User is offline   Sudipto Choudhury 

  • Supreme Being
  • Group: Administrators
  • Posts: 1886
  • Joined: 19-March 07

Posted 18 November 2008 - 07:51 AM

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.

Regards,

Sudipto Choudhury
FusionCharts Team

Follow us on Twitter

I code, therefore I am.

0

Other Replies To This Topic

#6 User is offline   mahesh 

  • Advanced Member
  • PipPipPipPip
  • Group: Members
  • Posts: 60
  • Joined: 11-November 08

Posted 18 November 2008 - 08:15 AM

How to set the debug mode = '1' in swfobject2.0 by flash vars???
mahesh
0

Other Replies To This Topic

#7 User is offline   Sudipto Choudhury 

  • Supreme Being
  • Group: Administrators
  • Posts: 1886
  • Joined: 19-March 07

Posted 18 November 2008 - 08:53 AM

hi mahesh,

Hope Arindam's code might help you out in this. Please go through the code  and find the secret of your own.

Regards,

Sudipto Choudhury
FusionCharts Team

Follow us on Twitter

I code, therefore I am.

0

Other Replies To This Topic

#8 User is offline   RationalRabbit 

  • Forum Newbie
  • Group: Members
  • Posts: 6
  • Joined: 28-March 09

Posted 04 June 2010 - 01:17 PM

Except than the link to his code does not download the zip file. The link says

http://www.fusioncha...achment576.aspx , which resolves to another page that, as far as I can see, has no reference to swfobject2. :)



"The man to whom something can happen must first be willing to accept that his premises may be invalid." - Inspired by Leonard Cohen & Ayn Rand
0

Other Replies To This Topic

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic