flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harbs <harbs.li...@gmail.com>
Subject FlexJS mouseEnabled
Date Mon, 15 Aug 2016 19:54:43 GMT
I can’t find any way in FlexJS to set the mouse-interactivity of an object. (i.e. a la mouseEnabled
in Flash)

I’m not sure how to actually implement this on the HTML side. For SVG, the pointer-events
attribute could be used.[1]

For regular HTML, we can use CSS if we don’t care about IE10 or lower[2].

Canvas is a whole ‘nother story.

Harbs

[1]https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/pointer-events#Example
[2]http://caniuse.com/#feat=pointer-events
Mime
View raw message