musicPlayer Voting System. AS3 coding help
Hey ok so i have a working mp3 player, and now i need to integrate a voting system.
Heres an overview.
- contains a datagrid with a list of all the songs (music.xml)
- Is where the user votes for selected song
- Is where the songs play
- Is where the playlist is calculated
heres my music.xml. note this is one entry on 7000+
<?xml version="1.0" encoding="utf-8"?>
<name>Is This It</name>
<album>This is It</album>
<filename>01 Is This It.mp3</filename>
the <votes> and >played tags are where the magic happens.
i dont know how i can sort through the xml file to find the song with the highest votes. also when the song has been played <played> should = 1. so the datagrid row can be disabled(any suggestions on that as well)
Now im just starting with flex but i'm not a newbie coder.