Random images banner from xml file

Hi,

I need to make a image banner that contains about 10 images that randomly fade into one another. I though for simplicity of updating it that i could reference the images from an xml file.

I have 2 questions.

How can i make a random image load and make sure it’s not the last one that loaded.

How can i reference images from the xml file.

Maybe someone knows a resource/tutorial on what im trying to achieve.

Thanks in advance