Flash Draw Transparent BitmapData

Posted on Tue 12 January 2010 in Development • Tagged with Actionscript, Flex, Bitmapdata, Flash, Transparent

Recently ran into an issue where I thought I should have been drawing a transparent BitmapData object, but the resulting object had a white background. The original incorrect code was the following:

var bd:BitmapData = new BitmapData(w, h, true);

The third boolean argument to the function is a transparency ...

Continue reading