# Load multiple xmls in array

**URL:** https://forum.kirupa.com/t/load-multiple-xmls-in-array/259003
**Category:** flash
**Created:** [April 30, 2008, 8:04am UTC](https://forum.kirupa.com/t/load-multiple-xmls-in-array/259003 "2008-04-30T08:04:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![coolpills](https://avatars.discourse-cdn.com/v4/letter/c/73ab20/32.png) [@coolpills](https://forum.kirupa.com/u/coolpills)
#### Post date: [April 30, 2008, 8:04am UTC](https://forum.kirupa.com/t/load-multiple-xmls-in-array/259003/1 "2008-04-30T08:04:01Z")

</div>

Hi

I am working on a game which has multiple levels. The data for each level is being stored in separate xml. When i move from 1 level to the other I need to load the next level xml. The game is paused during that period. In order to avoid this pause I want to load all xmls initially. The relative xml path to all the xml files is currently stored in a master.xml.

I need a robust code to load all xml files initially and store them in a array. Please help.
