I have an mp3player that loads an external mp3 file and plays. It works just fine if the url/location is hardcoded in the swf file.
however, i need to be able to have the url passed to the flash externally so that a number of users may utilize this single swf build.

example:
current location need to be filename.mp3 or http://www.domain.com/123/filename.mp3
however, i need this location to be edited per use of the swf.
in php i know i could call it such as:
$myLocation = "123";
http://www.domain.com/$myLocation/filename.mp3
or

$myLocation = "http://www.domain.com/123/filename.mp3";

(the "123" is what changes for each page use)


how do i do this within actionscripting?

Here is the code i have that is working just fine...
until i need to use a full url that changes for each page the swf is use on.

onClipEvent (load) {
if (playing!=true) {
playing=true;
soundIsLoaded=1
myMusic=new Sound();
myMusic.loadSound("myMusic.mp3",true)
}

}


Limitations:
1. because of the server set up, i am always required to call items using full absolute urls/paths.
2. php, cfm, xml etc are not available for use with this.
-- the goal is to be able to give an webmaster a copy of the swf and the code to embed it on their html page... and that's it.

Thank you! And I apologize in advance if this has been answered or its so simple one would feel the need to roll ones eyes. I'm stuck.