Hi,
I am loading data from XML File (at run time). My Flash displays records one by one ie there is pagination for displaying records. The weired problem I am facing is…when total records exceed say up 200 to 300 flash takes me to the FRAME where I have kept an Error (NO RECORDS FOUND) which supposed to be displayed whent there is really no record in the XML File.
XML File with even 500 records works absolutely fine on the local machine but on server its not functioning properly. Any suggessions about the same…please Let me know…Here is pasting my LOADING XML Files code Frame by Frame…
Frame1:
myXML = new XML();
myXML.ignoreWhite = true;
myXML.onLoad = loading;
myXML.load(filename);
function loading(success){
if(success){
gotoAndPlay(“ParseXML”); //3 rd frame
}else{
trace(“Error Loading XML File 1”);
gotoAndStop(“Error”); //4th frame “NO RECORD FOUND”
}
}
2nd Frame: (Label: LoadXML)
play();
3rd Frame: (Label: ParseXML)
if(myXML.hasChildNodes && myXML.loaded){
if(myXML.status == 0){
processXML();
}else{
trace(“Error Loading XML File 2”);
gotoAndPlay(“LoadXML”);
}
}
Thanks in advance
aShIsH