How do I create a mute button for an 'event' sound in Macromedia Flash? Stream sound works easily but compromises the sound quality

Posted on 2006-03-26
Last Modified: 2008-03-06
I am trying to mute an event sound in Macromedia Flash but have had no success thusfar. I previously learnt how to create a mute button for a 'stream' sync but found the clarity of my sound recording was compromised because of Flash's tendency to override sound settings on publishing.  Converting the sound to an 'event'  maintained the clarity but disabled my use of the mute button. Is there a method for muting an 'event' sound, or is there a formula for improving the output of a stream sync?
Question by:mkofahl
    LVL 34

    Accepted Solution

    simply use following code to stop event sound


    LVL 16

    Assisted Solution

    Quality of event sounds isn't better than streams, you just need to set the quality:

    1. In the library right-click the audio file and select Export Settings.
    2. Uncheck "Use Imported MP3 Quality" if it's checked
    3. Change bitrate to at least 32 for now(you can change it later if it doesn't sound good enough)
    4. Change quality to best
    5. Uncheck "Convert stereo to mono" if it's checked.
    6. Click OK

    7. Go to File=>Publish Settings
    8. In the Flash tab, at the bottom, make sure override sound settings is not checked

    Test it

    If you need better quality go back to the Export Settings and set the bitrate higher.

    Don't go any higher than neccessary to get decent quality or your file size will be huge.

    LVL 17

    Expert Comment

    LVL 17

    Expert Comment

    Hi mkofahl,

    Did you tried with my comment?

    BR Dushan

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Join & Write a Comment

    Suggested Solutions

    There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
    I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
    In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
    The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now