Is there any reason why "style" changes doesn't work while changing states of a layer? Has any of you encountered this problem?
Hey Patrik, only layer properties can be animated. You can change style properties based on state switches, though:
if layerA.states.current is "stateB"____layerA.style.color = "blue"
yeah, I figured that out already, but thanks
You can make those properties animate if you manually extend the Layer class. I use that technique to animate type and previously colours.