| How to Use a Single Button both to Start and Stop a Sound Object | Return to Index | Do you want all FLA's used for this tutorial? | Do you have a question? |
I have been asked a few times how to use the same button to toggle the sound on and off. Here is the code for that:
on(release) { // Be sure to change "mySound" to the name of your sound object. |
|
Return to Index | Do you want all FLA's used for this tutorial? | Do you have a question? |
This document copyright © 2005, 2006 by Kenny Bellew of Cowfly.Com Design, kennybellew@hotmail.com