Looks like you are trying to access MyDomainName.com but your policy is set
for www.MyDomainName.com.  Those are treated as separate domains even though
they are only sub domains.

On Wed, Feb 10, 2010 at 2:35 PM, s_hernandez01 <[email protected]>wrote:

>
>
> Hey does anyone know why I get this error:
>
> SecurityError: Error #2122: Security sandbox violation: BitmapData.draw:
> http://localhost/beta/Test-debug/Test.swf cannot access
> http://MyDomainName.com/beta/images-standard/backgrounds/paper.png. A
> policy file is required, but the checkPolicyFile flag was not set when this
> media was loaded.
> at flash.display::BitmapData/draw()
>
> I have the xml file "crossdomain.xml" on the root of my webserver:
>
> <?xml version="1.0"?>
> <cross-domain-policy>
> <allow-access-from domain="www.MyDomainName.com"/>
> </cross-domain-policy>
>
> but when I run the app locally I always get this error. All I'm doing is
> trying to retreive images from my database. What more do I need to do?
>
> Thanks
>
> Sal
>
>  
>

Reply via email to