Solved

loadsound and removing old music

Posted on 2004-10-07
8
169 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
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…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
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.

717 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