AS2 crossdomain BitmapData.draw image comes out blank

131 views Asked by At

I'm trying to load an image from another server into my Flash file and then turn it into a bitmap, so I can use it more than once. I used the code here. It works within the Flash program, but when I run the .swf in a browser, the bitmap comes out blank (white).

The same problem was described here, but I've already used System.security.loadPolicyFile to load a crossdomain.xml file. That file is set to allow access from all domains. However, the image is still coming out blank.

Using the browser's developer tools, I can see that the both the crossdomain.xml file and the original image file are being downloaded.

Any ideas why it's not working?

You can see the .swf file here.

0

There are 0 answers