[xml] Loading World Data into Flash

I want to know is there is a way to display a loading animation until an XML object has loaded from an external .xml file.
I’m using xml to store the layout of a tile based world and as the world gets bigger I need a way to show the user something is happening whilst it loads.
I’m looking for a kind of XML preloader bar type thing!