Ask a Question related to Macromedia Flash Sitedesign, Design and Development.
-
somatique #1
Handling the LoadSound delay for Streaming MP3
Hey :)
I have a music picker on a site i'm working on -
[url]http://somersethouseinn.com/2004[/url]
You'll see [1] [2] [3] under the heading "tunes". I'm streaming 3 different
mp3s off the server. Problem is that they take a few to start playing, and i'm
concerned users will just keep clicking on the button, causing the stream to
start over and over again. I'd like to have some sort of loading animation that
temporarily disables the button so they can't keep clicking on it until the
stream starts to play. Here's the script that is controling the button right
now.
on (release) {
stopAllSounds();
mySound = new Sound();
mySound.loadSound( "http://www.somersethouseinn.com/mp3/1.mp3", true);
mySound.play();
}
somatique Guest
-
Fake Live Streaming with delay
Hello, I'm thinking about to do a fake live streaming this way: 1. My capture card (not seem by flash as a camera) saves an avi file to a... -
Problem With loadSound On the web
Salut, I have a problem with loading mp3 sound with loadSound() ,on the web server does not work but on machine well worked. i use the syntax... -
delay in audio streaming
Hi, How can the recorded video from the webcam , be stored in a buffer and then uploaded to server using flash. Thanks -
attachSound vs. loadSound?
wich would you prefer and why, for music to startup on a full flash site? I don't really want the user to have to wait for the sound to load once... -
Help with loadSound
Hi Much appreciated if someone can help me with the following problem. I want to stream an audio file to a flash movie. The movie has a "Play"... -
adireddy #2
Re: Handling the LoadSound delay for Streaming MP3
You can also disable the play button once it is clicked....
playbuttoninstance.enabled = false;
and you can enable it again when the song gets loaded or at the end of the
song.
mySound.onLoad = function(success){
playbuttoninstance.enabled = true;
}
or
mySound.onSoundComplete = function(success){
playbuttoninstance.enabled = true;
}
adireddy Guest
-
somatique #3
Re: Handling the LoadSound delay for Streaming MP3
awesome! Thank yo so much!!!
somatique Guest
-
Unregistered #4
Handling the LoadSound delay for Streaming MP3
Great tutorial thanks. How would I add a delay to the playing of the loaded sound? Loads, then waits 3 seconds before playing? Thanks.
Unregistered Guest



Reply With Quote

