all groups > flash actionscript > december 2004 >
You're in the

flash actionscript

group:

Using Flash as a MP3 Stream Client


Using Flash as a MP3 Stream Client jerome NO[at]SPAM STC
12/15/2004 10:35:41 PM
flash actionscript:
Maybe this is not news to most.

I had a Quicktime streaming server set up (just for fun) for a while and would
use iTunes or winamp as a client to play the stream. As I was working on an
audio player for a site, I decided to test to see if you could call a QTSS
stream directly from flash. Well you can and it works great!

In the code you normaly have something like this:

mainSound = new Sound(this);
mainSound.loadSound("somefile.mp3",true);

I changed it to:

mainSound = new Sound(this);
mainSound.loadSound("http://www.fnckmachine.com:8000/ReadyJane",true);

http://www.fnckmachine.com:8000/ReadyJane being the direct link to the QTSS
stream.

I will be testing w/ other server technologies/platforms when more time is
availlable.

You can check out http://www.fnckmachine.com/fnckradio/ for the full effect.
This is my home test machine and it will be slow and choppy!!!
Re: Using Flash as a MP3 Stream Client Travis
12/16/2004 4:46:09 AM
=========
I had a Quicktime streaming server set up (just for fun) for a while
and would
use iTunes or winamp as a client to play the stream. As I was working
on an
audio player for a site, I decided to test to see if you could call a
QTSS
stream directly from flash. Well you can and it works great!
=========

Epiphanies are great arn't they.
AddThis Social Bookmark Button