3 Replies Latest reply on Apr 9, 2010 10:29 AM by kglad

    undefined error


      Thanks to webqaflash - I've gotten a  little closer to resolving this


      But my debugging tells me that i still have an  undefined error


      I'm thinking - xml.load(filePath)

      is not recognizing  the string as a file path to the XML


      Does anyone have any suggestions?  thank you



      var  filePath:String = new String();
      filePath =_root.file;


      var xml:XML =  new XML();
      xml.ignoreWhite = true;
      _root.xmlPath == undefined ?  xml.load(filePath) : xml.load(_root.xmlPath);