Hi,
I have an embedded video w/ sound in flash pro 8. I want to have the sound
disabled by default then let the user click a button to play the sound.
I guess, in the first frame, I would have some type of action script code to
mute the sound. Then, on the button, I would have some type of action script
code to unmute the sound, but I'm not sure how to do this. I would also like it
keep the sound muted or unmuted when it restarts and plays again.
Thanks for any advice!!!
margotdarby - 31 May 2008 06:44 GMT
Put the sound into a Movie Clip or .swf that starts when you click the sound-on
button. Your mute button could then stopAllSounds or unload the sound .swf.
I'm assuming it's a simple background sound--a few seconds of looping music,
for instance. If it's a long piece of music and you don't want it always to
start again at the beginning whenever you unmute, you will have to use some
kind of volume control.