[Flashcoders] Q:Hittest and transparent PNG's

2007-02-01 Thread moveup
Hi Does anyone know if there is a way to get hitTest to ignore transparent areas in dynamically loaded PNG's? [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce

Re: [Flashcoders] Q:Hittest and transparent PNG's

2007-02-01 Thread Cay Garrido H.
You could convert it to a bitmapData and check the transparency level with getPixel32... [EMAIL PROTECTED] escribió: Hi Does anyone know if there is a way to get hitTest to ignore transparent areas in dynamically loaded PNG's? [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca

Re: [Flashcoders] Q:Hittest and transparent PNG's

2007-02-01 Thread David Ham
You could also create another movieclip in the shape of the area you want to hitTest, and set the hitArea of your main movieclip to point to it. OK DAH On Feb 1, 2007, at 8:20 PM, Cay Garrido H. wrote: You could convert it to a bitmapData and check the transparency level with