;

PDA

Click to See Complete Forum and Search --> : swf file size


RikTheRik
06-06-2004, 12:24 PM
I have a large swf file size and by looking at the swf file statistics, I saw that it is because of my mp3 clips.
(which are 600ko) But I selected on the sound files "Stream"... so shouldn't they be loaded only when required (and not part of the swf file) ?
Is there any way to stream them using http ?

Erik.

Bob Hartzell
06-06-2004, 12:32 PM
They are still part of the swf even though you selected streaming. You might consider resampling the mp3 files using GoldWave, for instance, to reduce their size.

RikTheRik
06-06-2004, 01:12 PM
Originally posted by Bob Hartzell
They are still part of the swf even though you selected streaming. You might consider resampling the mp3 files using GoldWave, for instance, to reduce their size.

THanks for your answer Bob ! That was fast ;-)

I know that flash allows to create mp3 players that stream from http... are there any examples with KoolMoves ?

Erik.

tmoore935
06-06-2004, 01:51 PM
I have been playing with mp3's a lot latley and I have two examples if you are interested.

This shows the bytes loaded and actually streams a mp3.
http://www.diversioncentral.com/mp3player/stream2.html

This has a real time equaizer and streams a swf file(the mp3 is embeded into the swf)
http://home.att.net/~picdiversion/myplayer1.html

The only thing that I cannot get koolmoves to do and that is to read the MP3's IDE tags which I can do with flashMX.

I have a good 56k modem connection and the songs will play without pauses (most of the time). But the mp3s are at 32kbps mono 44100 sample rate.

If you go to www.necromanthus.com you can also download a premade mp3 player that is ready to go.

RikTheRik
06-07-2004, 12:28 PM
Originally posted by tmoore935
I have been playing with mp3's a lot latley and I have two examples if you are interested.

This shows the bytes loaded and actually streams a mp3.
http://www.diversioncentral.com/mp3player/stream2.html

This has a real time equaizer and streams a swf file(the mp3 is embeded into the swf)
http://home.att.net/~picdiversion/myplayer1.html

The only thing that I cannot get koolmoves to do and that is to read the MP3's IDE tags which I can do with flashMX.

I have a good 56k modem connection and the songs will play without pauses (most of the time). But the mp3s are at 32kbps mono 44100 sample rate.

If you go to www.necromanthus.com you can also download a premade mp3 player that is ready to go.

Thanks alot for all these information!!! I found out how to get the mp3 streaming, it is pretty easy using ActionScript.

I found a great tutorial on mp3 streaming at http://imm.sheridanc.on.ca/imm2003/joneseva/tutorial/.

The last thing I am looking for is how to make a progress bar with Koolmoves. Anyone could help me for that?

tmoore935
06-07-2004, 07:07 PM
The progress bar on my site is done by making a variable called done. It was made by trial and error and in pseudo code:

var done = _currentframe/_totalframes;

Then multiply the length (_width) of the progress bar to the value of done.