Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
Creating Sound On and Off Buttons
Author: Michael Georges
Creating your sound buttons
In the movie in which you want to have the sound:
- Create the images or text that will toggle your sound ON and OFF.
- Make them objects>buttons.
- Position them on the stage where you want them.
- In the actionscript for the ON button:
On (Release)
Begin Tell Target ("_leve l100 ")
Go to and Play ("Music Start")
End Tell Target
End On
- In the actionscript for the OFF button:
On (Release)
Begin Tell Target ("_leve l100 ")
Stop all sounds
Go to and Stop ("Music Stop")
End Tell Target
End On
| » Level Basic |
|
|
Added: : 2001-02-13
Rating: 5.02 Votes: 56
Hits: 3250
|
| » Author |
|
No author details available.
|
| » Download |
|
Download the files used in this tutorial.
|
|
Download (0 kb)
|
|
Get conversion and unzipping tools
for PC and Mac here!
|
| » Forums |
|
More help? Search our boards for quick answers!
|
|
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.
|
|
|