Adding sound to a button
Step 1
Create a new flash document.
Import your audio file into the library by selecting file > import > import to library then select your audio file and click ok.
Step 2
Create your button on the stage. I made a basic rectangle shape but you can make whatever you wish.
Using the selection tool (v) select your button.
Convert it into a symbol by pressing F8 then give your symbol an appropriate name and check the “button” button then click ok.
Step 3
Double click on your sound button and your timeline should look like below:
Now select the over state and create a new key frame by selecting F6.
Step 4
With the over state selected go to the bottom of screen and choose your audio file from the drop down menu.
Step 5
Test your movie Ctrl + enter
You should now have a button with sound.






0 comments:
Post a Comment