System.security.allowDomain(“172.20.180.20”)
var mySound:Sound = new Sound();
mySound.loadSound(“http://172.20.180.20/radioscape/user/flash/test1.mp3”);
mySound.onLoad = function(success) {
if (success) {
mySound.start();
loadText.text = “Solund Lodaed…”
} else {
trace(“Cannot Load file”);
loadText.text = “Solund not Lodaed…”
mySound.start();
}
};
i m using the above code to loade external sound.
after uploading on server, its’ working fine in IE but not in FireFox.
in firefox it’s going in else condition.
Thanks is advance.
Rajesh Kumar