How to creating simple text info before XML parsed

I load XML file, I plan display simply text “Load xml” before the Flash P. parse the XML file.
I can´t create conditon statement for it can u help me?
Maybe can we use this function:

function loadXML (loaded)
{
	if (loaded)
	{
		
		// hide text
		
	}
	else
	{
		// display text
}