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 the mouse rolls out
away from the item, it relapses back to the first state state1
. It's kind of weird since I don't really have a hovered/unhover state. Anyone knows how to prevent this from happening? maybe by somehow disabling the rollout
effect?