I tried to load some songs randomly.
I have. q., is it possible to get value of URL parameter of loadSound method?
I would like to know, which song was loaded.
Thanks

Code:
var bgSound:Sound = new Sound ();
// if the sound loads, play it; if not, trace failure loading
bgSound.onLoad = function (success:Boolean)
{
	if (success)
	{
		bgSound.start (0, 999);
		trace("Played song has duration "+ bgSound.duration);
		//status_txt.text = "Sound loaded";
	}
	else
	{
		//    status_txt.text = "Sound failed";
	}
};
// load the random sound of 5 songs
bgSound.loadSound ("bgSound_"+Math.round( Math.random()*5) + ".mp3", false);