PDA

View Full Version : Convert Mp3 Player to read from Database rather than XML. Will pay!!!



atokatim
September 7th, 2006, 01:28 PM
I am looking for someone to help me convert my original flash player from reading from XML to read from one line passed from PHP in XML format to work with the player. The idea is simple...just getting it to work is the problem. I am willing to pay anyone who gets this working for me. here is what i have for you to work with....

Original Code that works...


lvOut = new LoadVars();
lvIn = new LoadVars();
lvIn.onLoad = function (success)
{
//data_xml.load("http://www.mp3profiles.com/Website/usr/" + lvIn.playurl + "/playlist.xml");
data_xml.load("http://www.mp3profiles.com/Website/usr/64/playlist.xml");
};
lvOut.folder = _level0.folder;
lvOut.sendAndLoad("http://www.mp3profiles.com/Website/is.php", lvIn, "POST");
Stage.showMenu = false;
Stage.scaleMode = "noScale";
stop ();
volume = 90;
current_song = 1;
top.equalizer._visible = 1;
data_xml = new XML();
data_xml.ignoreWhite = true;
data_xml.onLoad = loadData;


Code that i want to work :


var a = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><songs><song name=\"Ashes of the wake\" band=\"Lamb Of God\" file=\"http://www.Mp3Profiles.com/Website/usr/64/10_Ashes_Of_The.mp3\"/><song name='TEST' band='test band' file='http://www.Mp3Profiles.com/Website/usr/64/10_Track_10.mp3'/></songs>";
data_xml = new XML();
data_xml.ignoreWhite = true;
data_xml.parseXML(a);
loadData();


That is only a part of the code, but i just want to show you a better example of what i would like.

Thanks in advance!

atokatim
September 7th, 2006, 08:41 PM
anyone??

nortago
September 8th, 2006, 08:47 AM
This could be of help ??

http://www.free-webmaster-resource.com/tutorials/flash/actionscript_php_mysql_integration/tutorial004/index.php?tutorial_id=455&tPage=1

Liam

atokatim
September 8th, 2006, 11:48 AM
That would work, but i already have the entire code set up to do a bunch of extra features. there are over 30,000 of my members using this player and everything must work the same except for how it loads the songs. I have been able to get the player to read a string of hand written XML as shown above in the Not Working player, but none of the other features work, the equalizer does not show, the titles do not show and a bunch more. I am hoping to find someone who can fix this for me for a few bucks.

creatify
September 8th, 2006, 12:32 PM
I'd like to help, but just don't have the time - if you you're at all familiar w/ php, and if you're using a mySQL database - look into http://www.amfphp.org

scotty
September 8th, 2006, 06:44 PM
Moved to Job Offers > Low Profile :cool:

scotty(-:

atokatim
September 9th, 2006, 01:11 AM
thanks for moving it...i did not see that forum until after i posted it. Still waiting on a reply :-W

2nd day
September 9th, 2006, 08:55 AM
wich player are you using? what exactely is the problem? I might be able to help you out, I've got experience with php-mysql-flash connections!

contact me at thomas[at]zeal-music[dot]com

atokatim
September 9th, 2006, 02:31 PM
I have sent you an email. If anyone else is interested, please post a reply.

JoshuaJonah
September 12th, 2006, 04:57 PM
I am. Flash/PHP/MySQL is my specialty.

2nd day
September 13th, 2006, 02:17 PM
Job is already completed, sorry ;)