Hey all,
I have a few sounds on my main timeline for syncing to an animation. Does anyone know what code I would use to mute the sound on the main timeline?
FYI…I will not be using linking from the library for this project, the sound WILL be on the main timeline.
Here is some code which does nothing and traces undefined…so as you can see…I’m not sure where to go with this. I’ve placed a mute button in my file, but I need help on knowing how to control the audio.
[AS]
mute.onRelease= function()
{
trace(_root.getVolume);
trace(_root.volume);
_root.setVolume(0);
}
[/AS]
Thank you.