Im working on a paint game in flash that would perform the same sort of tasks as you would expect from something like paint. But here is where my problem is. I have my game draw lines using lineto, and when the line is finished it converts the lines from vector to bitmap using bitmapData.draw. That works, fine. What i have a problem with is when i try using the fill tool (which is just using floodFill on the bitmapData) i get edges to my lines. These edges are the result of flash making the lines into bitmaps and having some pixels as partly alpha to resemble a smooth line. I have tried a range of things such as color transforms and threshold, but no matter what i still get the edges. Can someone help me please.