Also, just looking this up made me notice that as of Flash 8, you can do pixel-level hit detection between not only a bitmap and a point, but 2 bitmaps, with alpha threshold support!
BitmapData.hitTest() On 2/7/07, Jason Boyd <[EMAIL PROTECTED]> wrote:
Check out the BitmapData class, specifically the static loadBitmap(id) method for creating an instance from a library symbol, and getPixel() which allows checking individual pixel values. I would think an algorithm that would work would be to iterate through the display list, do hitTest() on every clip, and for those that hit, starting with the first (which is the highest depth), copy the image data into a BitmapData object and do a getPixel() at that spot to test for the transparent color (which sounds like its white). This would be slow, presumably. But might redo the objects on stage so that they are already Bitmaps or BitmapData. My 2 cents.
_______________________________________________ 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