On Thu, Apr 24, 2008 at 2:54 PM, Michael Wagner [EMAIL PROTECTED] wrote:
I would like to make a mask / effect in Flex
to get from a.bmp using b.bmp as a mask to get c.bmp
using bitmap operations probably.
If you really need to extract the shape from a bitmap, a quick way to
pull it off is to use an alpha blend mode. You can even convert the
luminosity into opacity using a simple color matrix filter.
Here's a short example that might help you to do that if you really
want to go that way:
http://rojored.com/code/alpha-blend-mode/AlphaBlendMode.swf
Here's the code for it:
http://rojored.com/code/alpha-blend-mode/
Cheers,
--
gabriel montagné láscaris comneno
http://rojored.com
t/506.8392.2040