# XML - Do this once loaded

**URL:** <https://forum.kirupa.com/t/xml-do-this-once-loaded/217336>\
**Category:** flash\
**Created:** [February 26, 2007, 3:38am UTC](https://forum.kirupa.com/t/xml-do-this-once-loaded/217336 "2007-02-26T03:38:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nineteen](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/nineteen/32/2679_2.png) [@Nineteen](https://forum.kirupa.com/u/Nineteen)\
**Post date:** [February 26, 2007, 3:38am UTC](https://forum.kirupa.com/t/xml-do-this-once-loaded/217336/1 "2007-02-26T03:38:51Z")

</div>

Hey’a,

Just starting to write a lil program with XML integration - However, I’m curious… How do I go about tellin flash to wait till the XML is fully loaded (preloaded) before it goes ahead and does the rest of it’s actions.

maybe even integrating a preloader bar or a textbox updating.

Whats the AS Commands? eg: my\_xml.onLoad = function(success:Boolean) {…
