A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [CS3] Mute button

  1. #1
    Junior Member
    Join Date
    Feb 2008
    Posts
    12

    [CS3] Mute button

    I have a movie with multiple scenes, each with its own voiceover (separate audio files in each scene). Is there a way to code a mute button that will work across all scenes? Thanks.

  2. #2
    Banned deepakflash's Avatar
    Join Date
    Aug 2007
    Location
    [Object not found]
    Posts
    1,160
    just use stopAllSounds();

  3. #3
    Senior Member
    Join Date
    Jan 2008
    Posts
    394
    try this

    Code:
    onClipEvent (press) {   
    yourmoviecliphere.setVolume(yourmoviecliphere.getVolume()-120) ;
    }
    then on another button
    Code:
    onClipEvent (press) {
    yourmoviecliphere.setVolume(yourmoviecliphere.getVolume()+120) ;
    }

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center