Jump to content
Search Community

zero0000

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by zero0000

  1. I have one LoaderMax instance that loads two DataLoad instances that are loading xml files. When the load completes it loads the xml files twice. If I remove LoaderMax instance and load them without it, they load only once.

     

    
    _loaderMax = new LoaderMax({name:"pagesXML", onComplete:_onComplete, onError:_onError, maxConnections:1});
    
    _homeLoader = new DataLoader(home.xml, {name:"home", onComplete:_onHomeComplete, format:"text"});
    _loaderMax.append(_homeLoader);
    
    _projectLoader = new DataLoader(projects.xml, {name:"projects", onComplete:_onProjectsComplete, format:"text"});
    _loaderMax.append(_projectLoader);
    
    _loaderMax.load();
    
    

     

    Is there any reason this would happen?

×
×
  • Create New...