4 Replies Latest reply on May 24, 2011 8:22 AM by Apihy

    problem to load XML

    Apihy

      Hi,

       

      I have a problem to load a xml since I added "[CDATA]" in my xml code

      my swf don't read anymore the html code. (sorry if my english is not very good but i'm french)

       

      this is my code

       

      var donneesXML:XML = new XML();

       

      donneesXML.load("site_swf/fr/textes_fr/springbok_presentation_fr.xml");

      donneesXML.ignoreWhite = true;

      donneesXML.onLoad = function(succes)

      {

      if(succes) txt_springbok.htmlText = donneesXML; else txt_springbok.text = "Chargement raté";

      }