Gallery based on xml like in tutorial, but

Hi
I try to make galery based on xml, just like in tutorial http://www.kirupa.com/developer/mx2004/xml_flash_photogallery.htm , but i wanna, that preloading will be not before every picture, bu t just one in start. First load all jpg from xml, and then start to looking at it.

Could someone help me with this? I’m begginer in AS, so plese, help.

Sorry if my english isn’t as wel, as it should.