Reading a xml file that contains pictures and contents using flash

To make a pic presentation, I used to xml to store images and contents. I display the pictures by reading from the xml file in flash.
My prob is ,

Suppose if there are 5 images with the contents in xml file. I have to make a loop of the images being displayed along with the content. As of know, the program reads the content and image, goes to end of the record and stops. I need to bring back to start and make the image displayed agian.

I should not use any next pr prev button. It must be repeative.

Can any one help me to do this ???