Late night just need to now how to unload xml file

hi, just need to solve this and then i would be done with my family project.

how do i unload xml file.

heres my code.

function loaded() {
photo = this.firstChild.childNodes;
gotoAndStop(10);
}
fscommand(“allowscale”, false);
System.useCodepage = true;
xml_obj = new XML();
xml_obj.onLoad = loaded;
xml_obj.ignoreWhite = true;
xml_obj.load(“gallery.xml”);
stop

thank you.