Disabling itemrenderer Hovered state

Posted by duder on Stack Overflow See other posts from Stack Overflow or by duder
Published on 2010-06-18T04:13:45Z Indexed on 2010/06/18 4:23 UTC
Read the original article Hit count: 311

Filed under:
|
|
|

My itemrenderer has 2 custom states, no hovered state, and no normal state

<s:states>
    <s:State name="state1" />
    <s:State name="state2" />
</s:states>

When I initialize it, I force it to go to state2. The problem is that when it's hovered over, it relapses back to the first state state1. It's kind of weird since I don't really have a hovered state. Anyone knows how to prevent this from happening? maybe by somehow disabling the hover effect?

© Stack Overflow or respective owner

Related posts about flex

Related posts about actionscript-3