# Loading multiple XML docs into one flash file

**URL:** https://forum.kirupa.com/t/loading-multiple-xml-docs-into-one-flash-file/179269
**Category:** flash
**Created:** [February 18, 2006, 7:47am UTC](https://forum.kirupa.com/t/loading-multiple-xml-docs-into-one-flash-file/179269 "2006-02-18T07:47:33Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![theSchtickler](https://avatars.discourse-cdn.com/v4/letter/t/ba9def/32.png) [@theSchtickler](https://forum.kirupa.com/u/theSchtickler)
#### Post date: [February 18, 2006, 7:47am UTC](https://forum.kirupa.com/t/loading-multiple-xml-docs-into-one-flash-file/179269/1 "2006-02-18T07:47:33Z")

</div>

I need to load data from two seperate XML files, into my flash movie.

I read something about placing the second loader and the end of the first “myXML.onLoad = function(ok) {” bit, but I just can’t seem to get it working?

Also, how would I script a preloader to load both of them?

Any help would be great 🙂
