0 Replies Latest reply on May 23, 2008 8:56 AM by Christopher Barnard

    Returning a value for an XML node

    Christopher Barnard
      Hello...

      I'm trying to find a way to select a specific node in my xml which would call another acton like attachMovie, and I don't the best way to go about it. Something like this:

      if (xmlNode.childNodes[0])
      {
      _root.attachMovie("mcmy", "my_mc", _root.getNextHighestDepth(), {_x:Stage.width / 2, _y:Stage.height / 2});
      }
      else {
      trace("");

      }

      How do I reference a specific node in the XML and is the best way to go about it?

      Any help very much appreciated.