# Xml and slideshow question - preload entire image collection rather than individually

**URL:** <https://forum.kirupa.com/t/xml-and-slideshow-question-preload-entire-image-collection-rather-than-individually/189250>\
**Category:** Uncategorized\
**Created:** [May 15, 2006, 1:14pm UTC](https://forum.kirupa.com/t/xml-and-slideshow-question-preload-entire-image-collection-rather-than-individually/189250 "2006-05-15T13:14:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![trevorsaint](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/trevorsaint/32/268_2.png) [@trevorsaint](https://forum.kirupa.com/u/trevorsaint)\
**Post date:** [May 15, 2006, 1:14pm UTC](https://forum.kirupa.com/t/xml-and-slideshow-question-preload-entire-image-collection-rather-than-individually/189250/1 "2006-05-15T13:14:02Z")

</div>

Hi

If I have my xml setup where it loads external jpgs, is there a way to preload the entire set rather than individually preloading single images.

Because its an automated animation I feel its best to preload them all rather than showing the preload bar for each image.

I understand that you can use

total = firstChildNode.childNode.length;

to determine the total amount of xml nodes, but cannot for the life of me figure out the way to preload the entire set.

Any help greatly appreciated.

T
