Xml preloader

hello all,
can anyone point me to some really simple xml preloader code (i.e. not colin moocks!). i’ve had a look around and cant find squat. cheers

  • liz

myXML = new XML();
myXML.load(“myXML.xml”);
myXML.onLoad = loadedXML;

function loadedXML() {
trace(“XML Loaded”)
//or what ever you want here
}

Look up getBytesLoaded() & getBytesTotal() if you want the whole preload effect