Hi,
I have a flash player which can play the songs stored on the Local Server, under “mp3” directory.
I would like to modify this player, so that i can play the songs stored on the remote server, through an API.
Following is the code of the player :
var request:URLRequest = new URLRequest(“mp3/” + _currentItemObject.songFile);
_primary_snd.load(new URLRequest(“mp3/” + _currentItemObject.songFile));
The location or say URL of every song ( stored on the remote server ) is different. So i need to pass dynamic values to my player.
Kindly suggest an approach to achieve this as I am pretty new to flash and actionscript world.
Thanks in advance.