Hi everyone,
I have following problem. I’m loading image from another domain and all is before i try to use it for pattern:
var pattern = new flash.display.BitmapData(loaded_mc._width, loaded_mc._height,true,0);
pattern.draw(loaded_mc);
....
beginBitmapFill(pattern);
i’ve add this line to my code:
System.security.allowDomain("*");
and on the specified domain i have crossdomain.xml
<?xml version="1.0"?>
<cross-domain-policy>
<allow-access-from domain="*" />
</cross-domain-policy>
BTW, i don’t know why but if i’m load XML from the same domain as image before i load image all works fine. i don’t know why.
Thank you for advance