# Xml problems

**URL:** https://forum.kirupa.com/t/xml-problems/158078
**Category:** Uncategorized
**Created:** [August 6, 2005, 8:22pm UTC](https://forum.kirupa.com/t/xml-problems/158078 "2005-08-06T20:22:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Joaquin\_win](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@Joaquin\_win](https://forum.kirupa.com/u/Joaquin_win)
#### Post date: [August 6, 2005, 8:22pm UTC](https://forum.kirupa.com/t/xml-problems/158078/1 "2005-08-06T20:22:12Z")

</div>

Iv’e been developing a little app using flash/xml. It works perfectly, but sometimes it doesn’t load the xml…

```auto

var myXML:XML = new XML();
myXML.ignoreWhites = true;
myXML.onLoad=function(success) {
[left] if (success) {
   //All to be done with the xml's info
   } [color=Red]else {
   myXML.load("xmlURL.xml");
   // Could risk to keep retrying forever
   }[/color]
myXML.load("xmlURL.xml");

```

Maybe by adding the part in red it whould be fixed, but I’m not sure thats correct.  
[/left]
