Link to home
Start Free TrialLog in
Avatar of Yard072999
Yard072999

asked on

loadsound and removing old music

Hi, I have something like this:
url = "http://www.domain.com/file.mp3";
player2 = new Sound();
player2.loadSound(url, true);

my mp3 is like 300 megs, (some mix :) )

I set my web setting for it can't send more of 4kb/sec  (the quality of mp3 is 24kbs)

But I have a problem with old and slow computer, flash seem to load mp3 in memory,and after 30-40 megs, some computer crash or get very slow. is there a way I can "clear" old mp3, I mean after the mp3 "play" the position, is there a way it can "remove" it, for now it "keep" it...


sorry for bad english.
Avatar of hsmtp
hsmtp

Hi Yard,

There a lot of problems with long sound and video.
I think you need to split your mp3 into lot of smaller mp3s, so each will be 5-15mb.
And when one part finishes you load another.

Good luck with your project!
Avatar of Yard072999

ASKER

if i'm doing that, I will have a "cut" in the sound no?
ASKER CERTIFIED SOLUTION
Avatar of hsmtp
hsmtp

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
yep you're right, but I'm making stats for how much time each people listen in 1 connection, if I'm doing that I will "lose" that stats.
What can I tell you?
If you want to provide the ability to listen music, you may reprogram your stats. This will be not so easy, but still can be done.