-
transparency in BitmapData
Is it possible to create a bitmap out of a MovieClip but preserve transparency on the pixels where there is no content in MC?? Currently I succeed only to create a Bitmap with white space in place of transpatent areas.
-
ok, found a sollution in http://board.flashkit.com/board/showthread.php?t=704342
Originally Posted by cardin
Turns out that in order to have transparent bitmaps, you need to set
var bitmap:BitmapData = new BitmapData(280, 140, true, 0x000000);
instead of
var bitmap:BitmapData = new BitmapData(280, 140, true);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|