You want to play that in Illustrator?
Swapping out elements is possible with symbols and you can also gnerate assets when implementing visibility variables. Or you could put them on their own layers and then export an SWF with layer based animation.
But since you would need to assemble the animation in a different software anyway: Create different artboards for the frames, then eport them and assemble in Photoshop.