maslachak

Members
  • Content count

    1
  • Joined

  • Last visited

Everything posted by maslachak

  1. I dont know how could you implement this in Fusions chart but maybe this sample can give you clue: //declare what node you are searching for. in this case it's attribute in Node _global.searched="second"; function loadXML(loaded) { if (loaded) { xmlNode = this.firstChild; total = xmlNode.childNodes.length; for (i=0; i if(xmlNode.childNodes.attributes.id == _global.searched){ heading = xmlNode.childNodes.childNodes[0].firstChild.nodeValue; description = xmlNode.childNodes.childNodes[1].firstChild.nodeValue; } } showMatchedNode(); } else { content = "file not loaded!"; } } xmlData = new XML(); xmlData.ignoreWhite = true; xmlData.onLoad = loadXML; xmlData.load("data.xml"); function showMatchedNode(){ your_dynamic_textfield_heading.text=heading; your_dynamic_textfield_description.text=description; } I have used this to display node values in dynamic text fields. Maybe it's not perfect but it's working. Hope it helps. Sasha Solution studio data.xml