how to add click event on image area on flex?
Can i create img map and then add several click event? for example this img- I开发者_如何学JAVA have 4 area for event top-left, top-right etc. How i can do this?
I need something like tag map on HTML.
Another approach would be to set the buttonMode to true on your image, add a click handler to it, then check if the point that got clicked is in any of the particular areas you care about. Hope that helps.
You should check out flexlib. I found this via a search and the result was already in StackOverflow: Image map in Flex So technically this question is a duplicate.
精彩评论