The solution was to define the bitmap like this:
var jpgSource:BitmapData = new BitmapData (spr.width, spr.height, true, 
0x00000000);

Reply via email to