Solved

loadsound and removing old music

Posted on 2004-10-07
8
158 Views
Last Modified: 2010-05-18
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.
0
Comment
Question by:Yard072999
  • 3
  • 2
8 Comments
 
LVL 6

Expert Comment

by:hsmtp
ID: 12256912
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!
0
 

Author Comment

by:Yard072999
ID: 12259557
if i'm doing that, I will have a "cut" in the sound no?
0
 
LVL 6

Accepted Solution

by:
hsmtp earned 500 total points
ID: 12259599
If you start buffering before previous track is finished, then you will have no gap between.
0
 

Author Comment

by:Yard072999
ID: 12263299
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.
0
 
LVL 6

Expert Comment

by:hsmtp
ID: 12265953
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.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now