PDA

View Full Version : cross domain - xml


jacoflash
07-16-2007, 02:50 PM
hello

I have written a small app that reads xml from a remote source. I can get it to work locally but cant seem to get it working online.

i have the following line in my flash

System.security.allowDomain("*");

but does not seem to make a difference, it just never reads the xml (only online), I have also tried to make a crossdomain.xml which I have uploaded in the root.

<cross-domain-policy>
<allow-access-from domain="www.the_domain_where_the_swf_resides.co.za" />
<allow-access-from domain="www.the_domain_where_the_xml_that_reads_resides.co .za" />
</cross-domain-policy>
have also tried

<allow-access-from domain="*" />
</cross-domain-policy>

but no difference what do I need to do to make this cross domain app work?

SilverVenom
07-22-2007, 02:21 PM
There has to be a crossdomain file in the remote server which you are trying to load information from.