How to detect click or touch on an irregular image, say an image of an animal where animals overlap slightly. The image is a bitmap image say png, or jpg. So if I convert it into movie clip or button, it will be a rectangular area instead of that animal’s boundary. I can add layer masks over the image, but then that is particular to that image. For another image, I will have to manually add masks.
I have seen senocular’s post actionscript.org. That will work if it is an animal, but in case of our target image where we have alpha transparency within it, then how to do?
I think the click event will scale to mobile apps as well.