Discussion:
Mute sound script and cast member change
(too old to reply)
Mike Crisp
2004-04-07 17:26:59 UTC
Permalink
Hi

I have imported a whistle sound that plays a set points within a movie.

I want to be able to click a mute icon and stop that sound occuring at the
same time I want the icon to change from the speaker to a speaker with a line
accross it ( the sort of thing you will see on Win mediaplayer or real player)

any simple solutions ?

Thanks in advance
JB
2004-04-07 18:53:25 UTC
Permalink
You would have the most control if this sound was triggered with a score
script, rather than the sould channel of the score.

on prepareFrame
global whistleActive
-- puppetsound plays in channel 1, unless optional param is given
if whistleActive then puppetSound "whistle"
end


Your mute button would set the global either = true or false, check the
library palette Control section, multi state button behavior.

Loading...