Hi
Can i mute a hole movie (.swf) and not just a one sound ? and how ?
Thank you
Bonna
Hi
Can i mute a hole movie (.swf) and not just a one sound ? and how ?
Thank you
Bonna
So i should ad this actions script to the button like it is !?
[AS]var vol = new Sound(); vol.setVolume(0);[/AS]
I have a mute button, i would like it to stop and start the sound !? or should i inset use a slidebar that goes to volume 0 ?
tanks a lot
Well, I’d use something like this:
var vol = new Sound();
mute.onPress = function() {
if (vol.getVolume() == 100) vol.setVolume(0);
else vol.setVolume(100);
};
Where mute would be the instance name of your button.
…However, there are a couple of tutorials here at kirupa.com if you want the volume slider.
nah. the one you used is awsome.
Tanks alot
No problem, Bonna.
…And welcome to kirupa forum, by the way.
:: Copyright KIRUPA 2024 //--