1 Reply Latest reply on Jun 23, 2008 12:37 PM by Newsgroup_User

    xml on server not loading consistently

    BillG-Seattle Level 1
      I have a project in which I'm loading an xml file of about 70kb in size. When testing, I'm finding that sometimes it loads properly, and sometime the user needs to click the browser's Refresh button before the xml will load.
      I'm using what I think is fairly common code:
      myData.onLoad = function(success) {
      if (success) {
      //code here parses the xml
      The file always plays perfectly fine when played directly off of my PC, but I receive the inconsistent results when the files are loaded to the server. I assume that the xml file isn't being loaded properly or quickly enough all the time, but I can't figure out what the issuemight be. Any help would be appreciated. Thanks!