Ask a Question related to Macromedia Flash Sitedesign, Design and Development.
-
Will Y. webforumsuser@macromedia.com #1
muting a streamed sound with a button
Another scripting question.
I've got a photo slide show with a soundtrack that is streamed, so it stays syched to the images.
I'd like to have a button set-up that could mute and 'unmute' the sound as it plays. I was thinking of a movie clip with two buttons - 'silence' and 'listen'. The 'silence' button would drop the volume of the sound to zero. The listen button would restore it to 100.
But I just can't it to work.
Is the theory sound? And if so, any help in getting there? I've looked at some similar sound tutorials and tried to rework them to do what I want but I clearly am getting something wrong cuz it doesn't work.
many thanks
will
Will Y. webforumsuser@macromedia.com Guest
-
Muting sound in flash.ocx from either Javascript or Delphi/C#
I know this question seems to have been asked from a number of different fronts, and I'm hoping to ask it a different way and hopefully find an... -
Controlling sound (ideally muting) in Flash.ocx (I've got v9) via other languages?
I've got a Delphi program that's embedding the Flash.ocx to display various SWF files - files that I do not create and have no control over. As a... -
Sound problems - new instance of sound starts each time a button is clicke
Everything in my site works fine, until the navigation buttons are clicked a few times, then the background music restarts and plays over the music... -
Muting the sound while Fast Forwarding
Good morning everyone! I Currently wrote a volume slider for my videos, and thanks to Chuck Neal (woo hoo,all in one video slider) I have a video... -
Mute - toggle sound - single button - streaming sound
After researching the Flash Boards for awhile and gathering info, no one (that I found) had a quick simple solution for a single button to mute and... -
stwingy webforumsuser@macromedia.com #2
Re: muting a streamed sound with a button
You can do this with just one button
try this:-
mySound = new Sound();
mySound.loadSound("sound1.mp3", false);
myButton.onRelease = function() {
(playing=!playing) ? mySound.start(0, 5) : mySound.stop();
};
Certified but not by Macromedia!
myurl
stwingy webforumsuser@macromedia.com Guest
-
flashnoob #3
Re: muting a streamed sound with a button
[url]http://www.actionscripts.org/tutorials/beginner/volume_slider/index.shtml[/url]
shows u how to make play/pause buttons and volume slider.
"Will Y." <webforumsuser@macromedia.com> wrote in message
news:bl5lcc$7cv$1@forums.macromedia.com...stays syched to the images.> Another scripting question.
>
> I've got a photo slide show with a soundtrack that is streamed, so itit plays. I was thinking of a movie clip with two buttons - 'silence' and>
> I'd like to have a button set-up that could mute and 'unmute' the sound as
'listen'. The 'silence' button would drop the volume of the sound to zero.
The listen button would restore it to 100.some similar sound tutorials and tried to rework them to do what I want but>
> But I just can't it to work.
>
> Is the theory sound? And if so, any help in getting there? I've looked at
I clearly am getting something wrong cuz it doesn't work.>
> many thanks
> will
>
>
flashnoob Guest



Reply With Quote

