0 Replies Latest reply on Dec 17, 2006 12:42 AM by ojk007

    Sort Xml nodes

    ojk007 Level 1
      I want to find the XML entry with the highest votes. then append that <song> to another file. Every 2 Minutes.

      my xml is
      <?xml version="1.0" encoding="utf-8"?>
      <files>
      <song>
      <songID>1</songID>
      <name>Is This It</name>
      <artist>The Strokes</artist>
      <album>This is It</album>
      <genre>Unknown</genre>
      <bitrate>224 </bitrate>
      <length>2:35 </length>
      <filename>01 Is This It.mp3</filename>
      <votes>0</votes>
      <played>0</played>
      </song>

      obviously this needs to be done with a timer in actionscript.