Open the JPG in photoshop and see if you have clean edges. If you have pixels around the edge that are not clean then you will see things like that happen...
sj ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of tchredeemed Sent: Sunday, October 12, 2008 1:09 PM To: [email protected] Subject: {Disarmed} [flexcoders] floodFill and threshold methods with bitmapData Ok, so I am working with bitmapData, using embedded jpgs. I need to be able to dynamically replace certain areas with a given branded color. I have got it where it will replace the majority, but it leaves a bunch of pixels around the edges when I use floodFill. I think this is where threshold comes in, but I cannot figure out how to use it. Any ideas? Am I using the correct method(s)? Is this possible? -- This message has been scanned for viruses and dangerous content by MailScanner <http://www.mailscanner.info/> , and is believed to be clean.

