Notem que eu quero que no local onde está localhost ele puxe a informação que está no xml
No meu xml será assim...
<music url="http://link.da.musica"/> ai quando eu colocar <music url="http://localhost:8000"/> ele vai rodar a stream, quando tiver o link.da.musica, puxa o arquivo mp3. Outra coisa, meu xml terá varios infos, então ele n lerá apenas o primeiro no, e sim um depois o outro...
Desde já agradeço
segue ai o código que uso para poder puxar a stream...
//Ler rádio
function stream()
{ System.security.allowDomain("http://localhost:8000/;playlist.pls");
myRadio = new String("http://localhost:8000/;playlist.pls");
mySound = new Sound();
mySound.loadSound(myRadio, true);
mySound.start();
} // End of the function
function clearBuffer()
{ mySound.stop(); delete mySound; stream();
} // End of the function
timerinProgress = false;
musicOn = true
offonText = "OFF";
System.security.allowDomain("http://localhost:8000/;playlist.pls");
myRadio = new String("http://localhost:8000/;playlist.pls");
mySound = new Sound();
mySound.loadSound(myRadio, true);
mySound.start();
//Volume
var vol = 100;
_root.onEnterFrame = function ()
{ _root.mySound.setVolume(vol);
};
var intervalID = setInterval(clearBuffer, 1200000);

Help














