Noob thanks everyone and asks another question

After much help from those on this forum, I was able to link to xml files of several different types using both methods provided for in AS3. I am thrilled and grateful beyond words. There is one final little detail:

There is a slight delay of maybe one second when the xml files (eight of them) are loading as the interactive appears on the screen. I’ve attempted to add a progress bar to one of the xml files. I THINK I’ve succeeded, but it’s so quick it’s a little hard to tell. Does the code below look OK?

var currentDataDemAG=“demAG.xml”;
var xmlAddressDemAG:URLRequest=new URLRequest(currentDataDemAG);
var xmlLoaderDemAG:URLLoader=new URLLoader(xmlAddressDemAG);
xmlLoaderDemAG.addEventListener(“complete”,loadXMLDemAG);

mcProgressClip.progressBar.source=xmlLoaderDemAG;
mcProgressClip.progressBar.addEventListener(ProgressEvent.PROGRESS,progressHandler);
mcProgressClip.progressBar.addEventListener(Event.COMPLETE,completeHandler);
function progressHandler(evt:ProgressEvent):void {
mcProgressClip.txtStatusText.text=“DATA LOADING”+int(evt.currentTarget.percentComplete)+"%";
}
function completeHandler(evt:Event):void {
mcProgressClip.progressBar.removeEventListener(ProgressEvent.PROGRESS,progressHandler);
mcProgressClip.progressBar.removeEventListener(Event.COMPLETE,completeHandler);
mcProgressClip.removeChild(mcProgressClip.progressBar);
mcProgressClip.x=-656;
}