animation callback , it gives the index of the frame , and the animation name