Just make the animation into seperate frames, then make a script that will cycler through each frame. Ex (of how you'd name the frames): *nameyouwant*F_1.*filetype* *nameyouwant*F_2.*filetype* etc.
Then jsut make something that goes through each one...