How can I make an animation that animate the layer states and restart after finish?
animationA.on(Events.AnimationEnd, animationB.start)animationB.on(Events.AnimationEnd, animationA.start) - This can help probably ;)
but its on animation not states..
I think an animation object may come in handy here. Tes Mat 's Framer Book has a great section on them.
You could do it like this:
Are you looking for layer.onAnimationEnd?