Trying to load a bitmap crossdomain without the correct policy file. Because of this, I can’t access the bitmapData within the loaded document which makes scaling the photos look horrible. I’m going to try loading the ByteArray and translating it directly to a bitmap. However, I’m not sure if this gets around the crossdomain issue.
update:
So…. loading the bitmapData as a byteArray using the netStream class seems to work. I’m going to do a little load testing to see how fast this method is before proceeding. Here are some resources:
update:
Although at first glance the previous solution seemed to work, it looks like I am still unable to use bitmapData.draw() on the display object that’s created. I wrapped the some console logging around each step of the conversion process and it looks like everything goes to crap at: oBitmapData.draw(oSource, oMatrix) where oSource is the loaded file in a Loader class that I have forced a type convertion on. The struggle continues.