How can I get the background of a BitmapData to be transparent. The reason for this is the movieclip it is taking the snapshot from is a movieclip with text inside it so it should just show the text without a white background. I tried to set the transparent value to true but that didn't work, any ideas?
Code:
private function createBitmapData(source, containerName:String):MovieClip{
var bitmapHolder:MovieClip=mcHolder.createEmptyMovieClip(containerName,mcHolder.getNextHighestDepth());
var bmpData = new BitmapData(source._width, source._height, true);
bmpData.draw(source);
bitmapHolder.attachBitmap(bmpData, 1, "never", true);
return bitmapHolder;
}