Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Music Player

Status
Not open for further replies.

aaronzimmer

Programmer
Aug 19, 2003
24
US
I've got a music player on one of my sites that plays 3 songs. My site takes quite a long time (even though they're compressed)to load because of these 3 mp3's. I've seen sites with music players that load really quickly, and the mp3's don't even seem to be compressed at all.

So, how do I get my player to stream the mp3's (without loading a new window), but still have the Flash movie load quickly??

Any suggestions would help a ton! THanks!
 
keep the mp3's external to the flash file and just stream them in as and when needed

eg mp3's in same folder

frame 1 flash

s = new sound();
s.loadSound("some.mp3", true);
s.start();
 
And ALLWAYS add this (although MM says the parameter is optional!) to your sound objects definitions... It will keep you out of further trouble!

s = new Sound(this);
s.loadSound("some.mp3", true);
s.start();



Regards,

cubalibre2.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top