# Preload all thumbs and first image XML HELP!

**URL:** https://forum.kirupa.com/t/preload-all-thumbs-and-first-image-xml-help/252623
**Category:** Uncategorized
**Created:** [February 21, 2008, 7:52pm UTC](https://forum.kirupa.com/t/preload-all-thumbs-and-first-image-xml-help/252623 "2008-02-21T19:52:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ripagiga06](https://avatars.discourse-cdn.com/v4/letter/r/838e76/32.png) [@ripagiga06](https://forum.kirupa.com/u/ripagiga06)
#### Post date: [February 21, 2008, 7:52pm UTC](https://forum.kirupa.com/t/preload-all-thumbs-and-first-image-xml-help/252623/1 "2008-02-21T19:52:36Z")

</div>

i can’t find anything on how to preload all the thumbnails and the first picture from an XML.

i searched the forums and other sites for hours and nothing came up.

i figure it would be something like this  
place all thumbnails into a holder(thumbnail\_mc) and getBytesTotal() and getBytesLoaded()  
then getBytesTotal() and getBytesLoaded() of the first picture which is in it’s own holder(image\_mc)  
add the getBytesTotal() together  
add the getBytesLoaded() together  
then create preloader from these

hope this doesn’t sound confusing
