PDA

View Full Version : Radio Shoutcast Streamer.


dj_raw
05-10-2005, 01:23 AM
Hi all,

I'm new around here and got some problems...

I am trying to make a flash radio streamer. The server uses Shoutcast.I have searched on this forum but couldn't find one that works...

I have seen a player that works on http://radio.webcast.ro/player/ So i thought i should download the player and then decompile the swf using Sothink SWF Decompiler. I did that and opened it with flash and i get this code in the actionscript layer:
function getTitle()
{
loadVariablesNum("http://radio.webcast.ro/display.php?a-cache=" + random(100000), 0);
this.display.tickerMessages[0] = melodia;
} // End of the function
function playStream()
{
var _l1 = _root;
var _l2 = this;
_l2.counter.text = "00:00:00";
var _l3 = "http://radio.webcast.ro:" + port;
_l1.stream = new Sound();
_l1.stream.loadSound(_l3, true);
_l1.stream.play();
_l2.status.text = "Playing";
_l1.streamStop = false;
_l2.equalizer.gotoAndPlay("1");
} // End of the function
function stopStream()
{
var _l1 = this;
_l1.stream.stop();
_root.streamStop = true;
_l1.status.text = "Stopped";
_l1.equalizer.gotoAndPlay("61");
_l1.melodia = "Radio WEBcast Media - http://radio.webcast.ro/";
_l1.counter.text = "00:00:00";
} // End of the function
port = "8008/live";
this.closeWin.onPress = function ()
{
getURL("javascript:window.close();");
};
playStream();


Allright, now when i paste the code into my player with the other ip and port and open the swf on my pc it works. But when i upload the swf to a site it doesnt work anymore :(

I dont get it why this isnt working.

Pls help

Thanks in advance

CyanBlue
05-10-2005, 02:44 AM
That's not nice... To me, it sounds like 'help me crack somebody else's work'... :(

dj_raw
05-10-2005, 10:48 AM
Well sorry but i tried before to make one but didnt work at all...also tried the few actionscripts that are on this forum...didnt work also.

Maybe this is something that more users want.

zuzu
04-17-2007, 09:15 PM
That's not nice... To me, it sounds like 'help me crack somebody else's work'... :(

This is the place for help and he wanna find a way to stream his radio that's all.
U said like that coz u are a supermod ? hehe i don't care who u are! I can care if u be a normal people like others!!!

zuzu
05-09-2007, 04:47 AM
That's not nice... To me, it sounds like 'help me crack somebody else's work'... :(
U WROTE THIS BEFORE 3-4 MSG AND U WROTE AGAIN.
what is the problem with u? :rolleyes: