Okay, check this out and hopefully someone out there can help me!
Using ActionScripting, I can get my sound to turn on and and off just fine through the movie clip, "mute". In the movie clip "mute" I use one button representing sound on and one for sound off that each tell target "/mute" to play. "Mute" movie clip is only two frames long, and each frame has a "stop" action in it. The first frame has sound on it and the other has "stop all sounds."
Like I said, this works fine for toggling the music, BUT:
...when the movie goes to the next scene, the button is defaulted back to the "play" setting and resumes play of music even if the user has requested muted music. I've tried setting the variable "sound" to 1 if music is on and 2 if music is off and then tried to get the next scene to recognize that and tell target "/movie" accordingly. For some reason this does not work.
Does anyone have any suggestions? Is my sound toggling too generic for this to work? Is it even possible to do what I'm trying to do?
Thanx in advance for any and all help with my little problem!
Jimbo
Using ActionScripting, I can get my sound to turn on and and off just fine through the movie clip, "mute". In the movie clip "mute" I use one button representing sound on and one for sound off that each tell target "/mute" to play. "Mute" movie clip is only two frames long, and each frame has a "stop" action in it. The first frame has sound on it and the other has "stop all sounds."
Like I said, this works fine for toggling the music, BUT:
...when the movie goes to the next scene, the button is defaulted back to the "play" setting and resumes play of music even if the user has requested muted music. I've tried setting the variable "sound" to 1 if music is on and 2 if music is off and then tried to get the next scene to recognize that and tell target "/movie" accordingly. For some reason this does not work.
Does anyone have any suggestions? Is my sound toggling too generic for this to work? Is it even possible to do what I'm trying to do?
Thanx in advance for any and all help with my little problem!
Jimbo