You are not logged in.
I am using amchart for graphs like line, column, bar, pie etc.
All my settings and swf files come from a cdn server. I have set the crossdomain.xml file in root accordingly.
My page setup is such that, my page loads with 1 graph initially. There are different options on the page which allow me to plot different kinds of data.
When user wants to see different data being plotted, the same graph is reloaded with different data.
With the cdn setup, my initial graph loads fine, but when i try to reload the graph with reloadAll method, the reloadAll method is undefined.
If i dont use cdn, and place the settings and swf files on the same server as my application, the reloadAll method is found and the chart loads properly. Only when i use cdn server, the reloadAll method is undefined.
Is there any other file, along with settings and swf, that i need to place on the cdn server?
Is the location of the file containing the reloadAll method relative?
You can try setting the following parameter, but it's not guaranteed to work. Adobe has changed it's functionality several times:
Thanks for your quick reply.
I tried adding the param. Now i get access to the reloadAll method, but on calling that method an error is thrown in firebug which says:
"Error calling method on NPObject!"
In that case it won't work I'm afraid. Sorry, we're not aware about any workarounds for this.
We have a workaround by modifying the source of the SWF files. The modification is as we need to add a line in flash code
System.security.allowDomain( "www.mysite.com" )
Can you please tell how to get source files?
We've purchased amCharts bundle: pie+line+column+xy tools (single site license).
The source code is available only with the purchase of OEM / SaaS license.
Please contact us directly at firstname.lastname@example.org if you would wish to discuss the possibility to upgrade your license.