﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>FusionCharts Forum / FusionCharts v3 / Using FusionCharts / FusionCharts and ASP  / Javascript Method - Referencing Charts? / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>FusionCharts Forum</description><link>http://www.fusioncharts.com/forum/</link><webMaster>support@fusioncharts.com</webMaster><lastBuildDate>Thu, 21 Aug 2008 16:15:26 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Javascript Method - Referencing Charts?</title><link>http://www.fusioncharts.com/forum/Topic5710-30-1.aspx</link><description>It's because of cross domain security restriction to prevent XSS attacks.</description><pubDate>Tue, 22 Apr 2008 11:46:52 GMT</pubDate><dc:creator>Pallav</dc:creator></item><item><title>Javascript Method - Referencing Charts?</title><link>http://www.fusioncharts.com/forum/Topic5710-30-1.aspx</link><description>I'm trying to use some code using your javascript method.&lt;/P&gt;&lt;P&gt;var chart1 = new FusionCharts(""&lt;/P&gt;&lt;P&gt;My question is why do you have to use relative addressing with the function call?  &lt;/P&gt;&lt;P&gt;Steps taken: &lt;BR&gt;- created virtual directory under main root web called Fusion charts.  Beneath that folder I placed a folder called SWFile.&lt;/P&gt;&lt;P&gt;Attempted to create web reference. &lt;/P&gt;&lt;P&gt;I've tried creating dynamically: &lt;/P&gt;&lt;P&gt;&lt;A href="http://&lt;web"&gt;http://&amp;lt;web&lt;/A&gt; root name&amp;gt;/FusionCharts/SWFile/&amp;lt;chart swf file&amp;gt;.swf&lt;/P&gt;&lt;P&gt;That did not work. &lt;/P&gt;&lt;P&gt;I then tried creating an application wide variable for the root web server map path and adding Fusion Charts\SWfile\&lt;/P&gt;&lt;P&gt;i.e.: &lt;/P&gt;&lt;P&gt;c:\&amp;lt;root web directory&amp;gt;\FusionCharts\SWFile\&amp;lt;swfile&amp;gt;.swf&lt;/P&gt;&lt;P&gt;And that did not work.  Are their any hints or workarounds to using  relative address "../../FusionCharts"</description><pubDate>Wed, 16 Apr 2008 13:44:41 GMT</pubDate><dc:creator>etm</dc:creator></item></channel></rss>