Glebka
Glebka

Reputation: 1668

crossdomain.xml file at subdomains

This is my site: http://chfmm.ru/2 click at the SEAT and chose any seat. FireBug show error (http://s46.radikal.ru/i111/1010/60/1e43ff9e2bc7.jpg). This photo hosting have 1 crossdomain file (http://www.radikal.ru/crossdomain.xml) what should I do?

my code:

Security.allowDomain("*"); 
            var context:LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain); 
            context.securityDomain = SecurityDomain.currentDomain; 
            context.checkPolicyFile = true; 
            context.applicationDomain = ApplicationDomain.currentDomain; 


            imgItem.source = urlImgArray[0];

...

<mx:Image trustContent="true" loaderContext="{new LoaderContext(true)}" smoothBitmapContent="true" click="imgItem_clickHandler(event)" buttonMode="true" useHandCursor="true" mouseChildren="false" id="imgItem" width="289" left="10" top="10" bottom="40"/>

Upvotes: 1

Views: 1328

Answers (2)

James Ward
James Ward

Reputation: 29433

http://s46.radikal.ru/crossdomain.xml is missing. Try to add a policy there.

BTW: The http://www.radikal.ru/crossdomain.xml file is wide open, which can lead to possible security holes.

Upvotes: 2

PatrickS
PatrickS

Reputation: 9572

The crossdomain file on http://www.radikal.ru/ is very permissive and will basically allow any domains, including of course any subdomains.

If anything, you will get a warning that the file's configuration is deprecated, this should not affect your data access.

Please give more information about what's happening, error messages etc...

Upvotes: 0

Related Questions