flash animation for libgdx