# Wait until XML file loaded?

**URL:** https://forum.kirupa.com/t/wait-until-xml-file-loaded/232169
**Category:** flash
**Created:** [July 11, 2007, 5:04pm UTC](https://forum.kirupa.com/t/wait-until-xml-file-loaded/232169 "2007-07-11T17:04:26Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![DSent](https://avatars.discourse-cdn.com/v4/letter/d/8dc957/32.png) [@DSent](https://forum.kirupa.com/u/DSent)
#### Post date: [July 11, 2007, 5:04pm UTC](https://forum.kirupa.com/t/wait-until-xml-file-loaded/232169/1 "2007-07-11T17:04:26Z")

</div>

Hi, I’m trying to load an external XML file into my program using onLoad callback function. The problem is that the script will continue to run without waiting for the file to load. Is there a way to do that?
