Hi,
what you are trying to do is a "
crossdomain" access.
Flash has some security restrictions here:
to be able to access files from a other domain, there must be a "
crossdomain.xml" file in the root directory on the other domain, the Flashplayer will look for this file,
e.g. this is a crossdomain.xml file that allows access from a swf that is on "domain1.com":
|
Quellcode
|
1
2
3
4
5
6
|
<?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="domain1.com" />
<allow-access-from domain="www.domain1.com" />
</cross-domain-policy>
|
best regards,
Klaus