开发者

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?

how to add click event on image area on flex?

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜