First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing!
Search tutorials
Author: Kenny Bellew

How to Troubleshoot Sound Objects

Most problems experienced with sound objects involve a sound object that won't start or, when you try to stop one, more sounds stop than was intended. If a sound will not start, here are a few things to check:

Sound Will Not Start

  1. Make sure that the proper path to the sound object is included in the start command. The proper path is wherever the sound object was defined. For example, if the sound object is defined in a button located in a movie clip named "mc02" which is in another movie clip called "mc01", the ActionScript would appear as follows:
    on (press) {
    As stated earlier, if the sound objects are all defined in one frame on the _root, the path would always be the same, and this would not be something you didn't need to track.
  2. If you're trying to start a dynamically loaded MP3 that is configured as streaming with the mySoundObject.start() method, and it will not start, the Flash player probably needs to be updated to the latest version.

  3. For non-dynamically loaded sound objects, make sure that the linkage identifier is properly typed - both where the sound object was defined and in the linkage properties in the Flash library. Also make sure that the identifier is a unique name. Remember that names are case sensitive and cannot start with a number. Check for typos.

Stopping one Sound Stops Multiple Sounds

This is nearly always due to how or where the sound object was defined. One easy way to resolve this is to specify the linkage identifier name as part of the stop command:


In the above example, "mySoundObject01" is the linkage identifier name that is set in the Flash library by right-clicking (or control-clicking for Macs) on the sound file and selecting "Export for ActionScript".

Sound Object Error Messages

  • "One or more files were not imported because there were problems reading them."
    A common reason to get this error message is that the file being loaded was encoded at over 160kbps. Flash cannot import MP3's with a bit-rate over 160kbps.

Miscellaneous Sound Object Issues

There is currently a limitation of having no more than eight sounds playing simultaneously.

This document copyright © 2002 by Kenny Bellew,
» Level Intermediate

Added: 2002-08-13
Rating: 8.98 Votes: 664
(10 being the highest)
» Author
Kenny Bellew is a technical writer in Minneapolis, MN. He's currently interested in becoming involved in other writing-related Flash projects.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!


  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: Inocreato
» Title: RaiseTheBlocks
» Description: Raise all the blocks to win the game
Featured Sound Loops
Image for equalize

Audio Player

» Author: TomCat Carty
» Title: The Wood
» Description: Just a little game ending or it can maybe be looped. Recorders with music box and percussion to give the feel of well, I don't know, the woods? Free to use, just credit me. thank you
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: Davisigner
» Description: Hmm... what to say about this one? It's reminiscent of the closing notes of the opening music from the Three Stooges done in a church organ style with a closing cymbal crash. I'll give this one away gratis, but feel free to check out my free loops and potential upcoming license-mandated ones over in the respective part of Flashkit.