flash q

Out of context: Reply #4

  • Started
  • Last post
  • 4 Responses
  • alloyd0

    Is it set to be a streaming or event sound? If its streaming, it will stop the current sound but when it gets to the next keyframe that has sound attached, it will start playing that sound. If you absolutely must use streaming sound, then maybe you can try using an enterframe function to continually check if the sound is on or off and set the volume accordingly. Then again, I'm sure you don't have to have that VO on keyframes but rather set it, start it, and stop it using code. This way, if you attach the sound to the main timeline, you can turn the volume off for all of them by simply calling this.setVolume(0); or you can attach each sound to a blank movieclip and then loop through an array of all of your movieclips to turn whatever ones you want on or off or whatever.

View thread