Getting in to States & using .next()Is there such thing as .previous()If I scroll down 50px --> Next Statebut If I scroll up 50px --> Previous state. My guess is to use .current to somehow subtract one to get to the previous state??
Hey Noam, yes:layerA.states.previous()
awesome. Searched but didn't see that in the Documentation.
Note to self to add this.
hrmm, previous doesn't seem to work. anyone have a workaround?
With the new animation API, layer.animate "previous"andlayer.animate(layer.states.previous)should work as well