Legal Note: Streaming Copyright music on a site without proper permission is illegal.
First off what you need:
1. A server with a lot of storage space, the swf's take up about the same size as an .mp3. A server with 20 megs will only let you store 3 or 4 songs.
2. A site made for high bandwidth connections. You should stream the audio at 128kbps for a good quality. Do not try and stream audio at a lower bitrate for dialup because it sounds really really bad.
Ok Lets go:
1. Navigation: Make a .fla with all of your songs listed that you want to stream.
First off you will need to create two layers. One for the graphics and the second for actions. All you need is one frame.
In the actions frame you will put the following code:
stop(); unloadMovieNum(66); loadMovieNum("http://www.yoursite.com/swf/song1.swf", 66);
That will start the first song automatically.
|» Level Intermediate|
Rating: 4.04 Votes: 133
|Download the files used in this tutorial.|
|Download (23 kb)|
|More help? Search our boards for quick answers!|