Does Flex CSS selectors support pseudo-classes?
I want to use diffe开发者_运维技巧rent backgroundColor for a canvas based on mouse over and out. I am currently listening to MOUSE_OVER and MOUSE_OUT events and changing the styleName property in the handler functions.
Is there a way I can specify canvasStyle:hover or something?
Only Flex 4 supports something called pseudo-selectors.
Pseudo-selectors use states defined in your composant.
See the official documentation for more info.
加载中,请稍侯......
精彩评论