Link para o Download do Flash: http://wesley-sns.com
Link para ouvir a Radio Starmix: http://radiostar-miix.blogspot.com/
------Códigos Usados na Video Aula-------
function stream()
{ System.security.allowDomain("http:// LINK DA SUA STREAMING:PORTA");
myRadio = new String("http://LINK DA SUA STREAMING:PORTA");
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:// LINK DA SUA STREAMING:PORTA");
myRadio = new String("http:// LINK DA SUA STREAMING:PORTA");
mySound = new Sound();
mySound.loadSound(myRadio, true);
mySound.start();
var vol = 80;
_root.onEnterFrame = function ()
{ _root.mySound.setVolume(vol);
};
var intervalID = setInterval(clearBuffer, 1200000);
--
Action Script do link do botão:
on (press) {
getURL(" LINK DO SITE ","_blank")
}
--
Action Script do botão play:
on (release)
{
function stream()
{
System.security.allowDomain("http://O LINKD DA SUA STREAMING:PORTA");
myRadio = new String("http://LINK DA SUA STREAMING:PORTA");
mySound = new Sound();
mySound.loadSound(myRadio, true);
mySound.start();
} // End of the function
function clearBuffer()
{
mySound.stop();
delete mySound;
stream();
} // End of the function
stream();
var intervalID = setInterval(clearBuffer, 1200000);
timerinProgress = false;
musicOn = true;
}
--
Action Script do botão stop:
on (release) { mySound.stop();
mySound.close(); _root.timerinProgress = true; _root.musicOn = false; _root.clearInterval(intervalID);
}
--
Action Script do botão mais(+):
on (release)
{ if (_root.vol == 100) { _root.vol = _root.vol - 0; } else { _root.vol = _root.vol + 10; } // end if
}
--
Action Script do botão menos(-):
on (release)
{ if (_root.vol == 0) { _root.vol = _root.vol + 0; } else { _root.vol = _root.vol - 10; } // end if
}
Esse cara é burro demais.... a gente tá entendendo ele direitinho.....
Sigmamix10 3 weeks ago
Video Aula? Passou longe de ser isso...xD
shaknunic 3 weeks ago
cara como vç faz uma video aula com musica no meio vai ser burro assim
no pasto do meu vizinho
RADIOMISELDORADO 1 month ago
carra q merda eu converto a imagem par abotão e clico em actions e colo o codigo e não funciona nada q merdddddaaaaaaaaaaaaaaaaaaaa
ae é action script 3 ou 2?
Sanderlds 1 month ago
k faz o player e no blog tem um do media player kkkkkkkkkkkkkkkkkkk
Sanderlds 1 month ago
olha eu não crie um projeto de player de radio, mas achei um projeto de webcam no flash
megaupload com/?d=QUDY1KNJ
nisael2001 2 months ago
affs velho tira a musica larga de se burro!
euuorlei 2 months ago
nao aprendi nada a musica ta altona
tathygatinhas2 2 months ago
o link de download morreo
plagioAG 2 months ago
Cara eu to sem caixinha de som
plagioAG 2 months ago