Hey everyone,
Not sure if this can be done or not but what I'm looking to do is when a user clicks on a link on my site to retrieve and audio file, I want the information to be passed to a flash player that will play the song. The links are setup similar to this:
<a href="play-audio.php?trackID=x">
Where x is obviously a number. Now I know I can use the $GET and $POST (in this case because it's passed through a url $_GET) variables to the movie but to my knowledge PHP script doesn't work in flash so I'm not sure how to query for the path inside the .swf so that the playSound() function will work.
What's the best way to go about what i'm looking to do?
TIA