# Preloader for xml content

**URL:** <https://forum.kirupa.com/t/preloader-for-xml-content/305941>\
**Category:** flash\
**Created:** [March 5, 2010, 11:04pm UTC](https://forum.kirupa.com/t/preloader-for-xml-content/305941 "2010-03-05T23:04:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vbkun](https://avatars.discourse-cdn.com/v4/letter/v/bbce88/32.png) [@vbkun](https://forum.kirupa.com/u/vbkun)\
**Post date:** [March 5, 2010, 11:04pm UTC](https://forum.kirupa.com/t/preloader-for-xml-content/305941/1 "2010-03-05T23:04:13Z")

</div>

Well

I made a neat gallery with thumbnail previews and stuff, and now i’m facing a serious problem =,=.

I don’t know how to pre-load the stuff flash loads from xml -.- (actually the thumbnails, that need to be ready at cache for the roll-over effects).

After looking a few tutorials and scrpts i have found in the i came to some conclusions but, fortunately, what i found checks the loading process for the individual items, while i need to get the sizes all together to add them in the loader… I’m pretty clueless right now how to do that.

What i think i need is to create an array for the thumb attribute of my xml’s nodes, and find a way to process the size of that all together using something like a shift + a variable for total size… but well… i right now only think " i need to do that" but i have no clue of how =.=.

I would really appreciate ANY help =).
