How to loop external .swf movies

I have a bunch of external SWF movies that I need to loop through, how can I do this. In other words I need each movie to play, movie1.swf, movie2.swf, etc. then once the last one in the group is done it starts over at movie1 again and just keeps doing it.