Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flex > Flex 2, 3 & 4

Reply
 
Thread Tools Rate Thread Display Modes
Old 12-15-2006, 11:33 PM   #1
ojk007
Registered User
 
Join Date: Dec 2006
Posts: 4
Arrow 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.
2apps

End user
Server

End User
- contains a datagrid with a list of all the songs (music.xml)
- Is where the user votes for selected song

Server
- Is where the songs play
- Is where the playlist is calculated

heres my music.xml. note this is one entry on 7000+

quote:
<?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>



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.

Thanks heaps
ojk007 is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a voting system Dirtyboy ActionScript 2.0 1 03-23-2006 12:22 AM
Why everyone hates (or should hate!) mircosoft stealthelephant General Chat 100 01-07-2005 01:17 PM
My Voting System tkambler Site Check 0 11-11-2004 12:49 AM
Online Voting System mko ActionScript 1.0 (and below) 2 04-06-2004 09:07 AM


All times are GMT. The time now is 04:16 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.