I have flash on my site.com
and resources (images) on other site with IP address only (suppose 1.1.1.1
).
I have itemrenderers with s:Image sorce="{FullPathTo1.1.1.1/imageName}"
.
In http://1.1.1.1/crossdomain.xml
we have:
<cross-domain-policy>
<site-control permitted-cross-domain-policies="master-only"/>
<allow-access-from domain="site.com"/>
<allow-access-from domain="*.site.com"/>
</cross-domain-policy>
When FlashPlayer loads images to itemrenderers - it for unknown reason requests not only for http://1.1.1.1/crossdomain.xml
, but for http://1.1.1.1/
(root site). There is no default answer in 1.1.1.1 root - it is totally empty page. But, after that flash throws uncaught ioError (not s:Images, but some system class).
What i tried to fix:
- If i hide
s:Image
in item renderer - now error. So, exactly this images loading generates error. - If i substitute
http://1.1.1.1/
root answer tohttp://1.1.1.1/crossdomain.xml
in a proxy - flash player works correct without any error.
So, for some stupid reason it looks for crossdomain.xml
in the root URL, but not http://1.1.1.1/crossdomain.xml
Does anybody know the reason and how to fix it?