| You are here : : Home > Free Resources > Flash Tutorials & Resources > Sound On/Off Button |
Animation & Effects
Actionscript
Miscellaneous
Free Flash Resources
Other Flash Resources
In this tutorial you will learn how to create a simple Flash music
on and off button using Flash actionscript. Fla download is also
included.
This tutorial starts with the music on. On clicking the button music
goes off (as seen in the demo). You can start the music again at
any point during the movie.
| Demonstration | ||
|
| gotoAndStop(1); |
| gotoAndPlay(1); |
| on (release) { tellTarget ("../music") { stopAllSounds(); } } on (release) { nextFrame(); } |
| on (release) { tellTarget ("../music") { nextFrame(); } } on (release) { prevFrame(); } |
New! We have added an article directory of more than 2,000 articles on web development and site promotion! Topics cover domain names, web design, web hosting, ecommerce, blogging & rss, email marketing, internet marketing, ppc advertising, seo, traffic building and much more!