title: my xml file is loaded into swf but not loaded when I embed swf into html page
body: <p>my xml file is loaded into swf but not loaded when I embed  swf into html page
  any help?</p>
  
  <pre><code>var data1:XML = new XML();
  data1.ignoreWhite=true;
  data1.load("foods.xml");
  
  data1.onLoad = function(success){
  if (success){
      name_txt.text = data1.firstChild.childNodes[0].attributes.name;
      count_txt.text = data1.firstChild.childNodes[0].attributes.count;
      type_txt.text = data1.firstChild.childNodes[0].attributes.type;
      }
  }
  </code></pre>