I’ve been making something using Bitmapdata, I was testing on Flash for speed, and only noticed at the end that all the other targets weren’t displaying properly…
To try to get to the bottom of it, I made a simple test using this:
var p1:Point = new Point(0,0); var p2:Point = new Point(50,50); var bmd1:BitmapData = new BitmapData(100,100,true,0xffff00ff); var bmd2:BitmapData = new BitmapData(100,100,true,0xaaffffff); var comp:BitmapData = new BitmapData(150,150,true,0x5500ff00); comp.copyPixels(bmd1, bmd1.rect, p1, null, null, true); comp.copyPixels(bmd2, bmd2.rect, p2, null, null, true); var b:Bitmap = new Bitmap(comp); addChild(b);
which displays the issue.
Any ideas how to work around or fix this? (I’m on the latest versions of OpenFL & Lime)