Loading several files before showing

Hi,

I’m currently creating a slideshow, where I want to load all the images before starting that very slideshow. Is there a way to do this, without creating a bunch of movieClips and load every image into each movieClip, and then fade them out, depending on the state of time?

In other word, is there some sort of cache function in flash, that allows me to load all the images, before showing them?

PS. I’m loading the images through an XML file, just in case that should change the concept of coding.