A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Sound On .... Sound Off

  1. #1
    Registered User
    Join Date
    Jun 2001
    Posts
    100
    I'm sure this is a simple problem for most of you, but I don't get it...

    With a sound playing in the background I have two buttons, what scripts do I put on the for one to turn sound on, and the other to turn the sound off?

    Sorry for the dumb question! I appreciate help on these things

    -Rj


    The page it's going on if you want to look...
    http://test.firstlink.com/denveraudio

  2. #2
    Junior Member
    Join Date
    Jun 2001
    Posts
    14
    hi,

    put the buttons in a mc.

    on its timeline, on frame one, insert sound and the action stop. for the button "off", on release, set the action stop all sounds and goto next frame. no actions for button "on", actually u won´t need it on frame 1 .

    on frame two, set the action stop, make sure that there´s no sound. for button "on" set the action goto previous frame
    that´s it

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