pianoman993 Posted September 2, 2008 Share Posted September 2, 2008 Hello, just have a short and simple question. Is there such a thing as a flash audio (mp3) player than can load an external sound file through javascript or php instead of loading an XML playlist? Thanks for any help in advance, - Mark Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted September 2, 2008 Share Posted September 2, 2008 Yes. You will need to save your info in a database would be the best way. You will want to save: - file location - an id number - any other info you would like then using flash, you will need to make a call to a php page calling for an ID number, which will search your database for the file. and output a get string like so: songURL=/songs/myfile.mp3&songID=2 then in your flash you can use some flash functions to load the song file. Quote Link to comment Share on other sites More sharing options...
pianoman993 Posted September 2, 2008 Author Share Posted September 2, 2008 Thank you for your response. What you say makes good sense, however, I am a complete novice in the area of actionscript 3.0 and will need to get familiar with that area of programming in order to accomplish this mp3 player. Do you have any suggestions on any tutorials I can browse in order to understand how actionscript and php can "talk" to each each other? Again, thanks - Mark Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted September 2, 2008 Share Posted September 2, 2008 Good start: http://www.kirupa.com/developer/mx/volume_slider.htm Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.