Re: [flexcoders] Re: How do I change transparency of BitmapData to BLACK?

2008-05-09 Thread Josh McDonald
Wouldn't it be easier to just draw a black rectangle, then draw the bitmap on top? On Sat, May 10, 2008 at 2:10 AM, toofah_gm <[EMAIL PROTECTED]> wrote: > I figured out how to get what I wanted using BitmapData.threshold: > image.bitmapData.threshold(image.bitmapData, > image.getRect(image), ne

[flexcoders] Re: How do I change transparency of BitmapData to BLACK?

2008-05-09 Thread toofah_gm
I figured out how to get what I wanted using BitmapData.threshold: image.bitmapData.threshold(image.bitmapData, image.getRect(image), new Point(), "<", 0xFF00, 0xFF00, 0xFF00); --- In flexcoders@yahoogroups.com, "toofah_gm" <[EMAIL PROTECTED]>