# Preloading an Array of Images (from XML)

**URL:** <https://forum.kirupa.com/t/preloading-an-array-of-images-from-xml/124780>\
**Category:** Uncategorized\
**Created:** [October 6, 2004, 6:17pm UTC](https://forum.kirupa.com/t/preloading-an-array-of-images-from-xml/124780 "2004-10-06T18:17:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![DivideMySky](https://avatars.discourse-cdn.com/v4/letter/d/e47774/32.png) [@DivideMySky](https://forum.kirupa.com/u/DivideMySky)\
**Post date:** [October 6, 2004, 6:17pm UTC](https://forum.kirupa.com/t/preloading-an-array-of-images-from-xml/124780/1 "2004-10-06T18:17:45Z")

</div>

Hey everyone -

Here’s my problem: I’m creating an image gallery (similar to the one that is posted in the tutorials at kirupa) but with one difference. Rather than loading each file individually when they are called, I want to preload the whole array of images first and then let the user sift through them. I’ve tried attaching them into a nested movie clip that has a preloader on it, but it seems that Flash is too quick and will decide the file is loaded before the JPGs are imported. Any help would be appreciated!

TJ
