I've been asked a few times how to use the same button to toggle the sound on and off. Here is the code for that:
// Be sure to change "mySound" to the name of your sound object.
|» Level Intermediate|
Rating: 8 Votes: 31
|Kenny Bellew is a technical writer and freelance flash programmer who specializes in Flash audio. He lives in Minneapolis, MN.|
|Download the files used in this tutorial.|
|Download (12927 kb)|
|More help? Search our boards for quick answers!|