I have audio on and audio off graphics. I'd like to be able to click on the audio-off
button to a) turn off audio and b) display the audio-on button and the reverse for
the audio-on button.
Tx
Script for turning audio on/off
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Script for turning audio on/off
HI,
Look up playLoudness in the dictionary. That will do the muting for you.
Use the button icon property to set your images. and check this out:
The true false may be backward.
Simon
Look up playLoudness in the dictionary. That will do the muting for you.
Use the button icon property to set your images. and check this out:
Code: Select all
on mouseUp
if the highlite of me then
set the playLoudness to 0
set the hilight of me to false
else
set the playLoudness to 100
set the highlite of me to true
end if
end mouseUp
Simon
I used to be a newbie but then I learned how to spell teh correctly and now I'm a noob!