Tagged: actionscript

Flash: the function of mergeAlpha in copyPixels 0

Flash: the function of mergeAlpha in copyPixels

the sytx of copyPixels is like this: copyPixels(sourceBitmap:BitmapData, sourceRect:Rectangle, destPoint:Point, [alphaBitmap:BitmapData], [alphaPoint:Point], [mergeAlpha:Boolean]) : Void Just assume, we have a destination BMP called desBMP, a sourceBitmap, and a alphaBitmap to provide secondary alpha setting....