1 Reply Latest reply on Jan 30, 2008 3:06 AM by Greg Dove

    new XML(xmlstring) load event

    asilter
      is there onLoad event of new XML(xmlstring) constructor.

      i cannot get the trace below:

      var xml_:XML = new XML("<?xml version='1.0' encoding='utf-8'?><root></root>");
      xml_.ignoreWhite = true;
      xml_.onLoad = function(success)
      {
      trace("i am here");
      };

      or does new XML statement waits until the xml is loaded?
      If so, do we use onLoad event for only load(url) function?