How can I have only one loading screen at the beginning of my movie that will load the entire movie including images I have in an XML file that I load. I have a XML file that has 20 pictures in it, and I want all of the pictures to load before, so that when transitioning between pics, there is no delay. Here is how I loaded my XML file:
pArray=new Array();
my_xml=new XML();
my_xml.ignoreWhite=true;
my_xml.onLoad = function(success){
if(success){
for(var i=0; i<this.firstChild.childNodes.length; i++){
pArray_l = this.firstChild.childNodes.length;
pArray.push(this.firstChild.childNodes*.attributes.pic);
}
}
load_home();
};
my_xml.load("pic.xml");