Solved

loadsound and removing old music

Posted on 2004-10-07
8
159 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can't find all of the preferences on Flash Pro 2 482
flash cs6 4 343
I'm running a risk by using Adobe Flash in my site ? 9 117
IE11 stops playing video on a certain website 10 68
This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
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.

930 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

8 Experts available now in Live!

Get 1:1 Help Now