You are not logged in.
Hi,
i'm getting this error:
Uncaught Error: Error in Actionscript. Use a try/catch block to find error. adaptaciones_loe.js:33
Uncaught Error: Error calling method on NPObject.
when i',m using getData() of my flashMovie. This only happens when i try to get data from another server. i set allowScriptAccess to always and the crossdomain.xml of my server is :
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>
Could you help me, please??
Offline
Is the JavaScript that tries to use getData() loaded from the same host as amline.swf? If it's not, Flash security restrictions are in effect. I'm afraid there's nothing we can do about it.
Offline
Javascript and amline.swf are all loaded from the same host. We are showing the chart in one domain (A) but data, setting, amline.swf and the javascript code are all in another domain (B).
Notice that data & settings are correctly loaded from domain B when the chart starts.
Offline
I'm afraid you will need to put swf into the same domain as your page in order to satisfy security restrictions. I suggest you try that for the sake of test.
Offline
It works fine when the swf and my page are in the same domain, but i need to put it on differents domains. Is there any solution?
Offline
Flash prohibits JavaScript interaction between the page and SWFs hosted on different hosts. I'm afraid there's no solution to this.
Offline
© amCharts | Forum engine: PunBB