Jump to content

Simple audio player using php and not XML?


pianoman993

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.