Re: [Flashcoders] using Bitmap for hitArea

2009-06-23 Thread Andrew Sinning
Thanks Leandro. I took an initial look at this, but got scared off by the fact that this is going to make mouseUp/Down/Enter/Leave and click detection really complicated, much more complicated than anything I've ever had to deal with before. There will be follow-up questions, but first I

[Flashcoders] using Bitmap for hitArea

2009-06-22 Thread Andrew Sinning
If I draw a circle using the Graphics and Shape classes, and then add the shape to a sprite, I can use the sprite for the hitArea of another sprite and it works just fine. Everything within the circle is a hit, everything outside of it is a miss. However, if I create a sprite containing a

Re: [Flashcoders] using Bitmap for hitArea

2009-06-22 Thread Leandro Ferreira
BitmapData.hitTest: http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=1410.html Leandro Ferreira On Mon, Jun 22, 2009 at 19:21, Andrew Sinning and...@learningware.comwrote: If I draw a circle using the Graphics and Shape classes,