# Load Multiple xml files

**URL:** <https://forum.kirupa.com/t/load-multiple-xml-files/155038>\
**Category:** flash\
**Created:** [July 14, 2005, 10:17am UTC](https://forum.kirupa.com/t/load-multiple-xml-files/155038 "2005-07-14T10:17:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![beforedawn](https://avatars.discourse-cdn.com/v4/letter/b/edb3f5/32.png) [@beforedawn](https://forum.kirupa.com/u/beforedawn)\
**Post date:** [July 14, 2005, 10:17am UTC](https://forum.kirupa.com/t/load-multiple-xml-files/155038/1 "2005-07-14T10:17:48Z")

</div>

Hi,

I have an array filled with xml files locations.

I want to load each one in and then attach the result to a variable, which describes its content, e.g. contact, home, support etc.

Is there a wau of doing this with a loop?

Also I would like to know the total size of all the files and how much is loaded whilst loading, for the preloader.

thanks in advance.

ash
