Trying to make onTap the green box (layerA) animate. When the animation is finished, layer be animates with onAnimationEnd function, but some how its not working. Can someone please help.
My bad, I figured it out now :D Had to change the code and addlayerA.on(Events.AnimationEnd, moveLayerB.start)
Code below if anyone wants to know how to animate multi objects.