Good to know, thanks - I can see now I still have a lot to learn about color and the new BitmapData class. :)
Jason Merrill Bank of America Learning & Organization Effectiveness - Technology Solutions >>-----Original Message----- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Zeh Fernando >>Sent: Friday, September 15, 2006 11:42 AM >>To: Flashcoders mailing list >>Subject: Re: [Flashcoders] BitmapData.getPixel() -> negative value ? >> >>> Oooops, you are right, I meant 0x000000 >>> Nevertheless, you had said, 0xff000000 (solid black) ?? >> >>It's because it has the alpha value on it (ARGB) with a opacity of 255 (100% >>opaque, or 0% transparent). >> >>0x000000 (or just 0) *IS* solid black, but if you're painting on a bitmap >>with an alpha channel, you have to be sure to also set its alpha value or >>else you'll be painting transparent black pixels. >> >> >>Zeh >> >>_______________________________________________ >>Flashcoders@chattyfig.figleaf.com >>To change your subscription options or search the archive: >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >>Brought to you by Fig Leaf Software >>Premier Authorized Adobe Consulting and Training >>http://www.figleaf.com >>http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com