http://objectpainters.com/blog/2007/11/30/inverting-the-alpha-of-a-bitmap-image/ of any help?
On Thu, Feb 28, 2008 at 6:56 PM, Steven Sacks <[EMAIL PROTECTED]> wrote: > maybe... > > private function createInvertedMask() > { > var r:int = mask_bitmap.width; > var c:int = mask_bitmap.height; > var v:int; > > while (--r -(-1)) > { > while (--c -(-1)) > { > v = mask_bitmap.getPixel32(r, c); > mask_bitmap.setPixel32(r, c, v ? 0x00000000 : 0xFF000000); > } > } > } > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders