How to add sound to a menu in Flash CS5? - ActionScript 3.0

Hello, this article will tell you how to add sound to a menu, or rather buttons that we created in the previous articleSo open the file menu and begin to add sound. I hope you have a sound file ready to be placed in your project.








If you already open the file menu, then we need to import our sound file, so go to File-Import and select Import to Library, then our job a little easier.


Choose your sound file and click Open.
OK. If you have already done so we can move on, namely we have to go to a movie clip, which is our key, all the animation. Double click on the button.



Now to add the sound so that it is audible during collisions with the mouse on the button we have to go to the second frame on a layer of shares and there, add sound, select a frame like in the image.


If you have already selected a particular frame, drag the audio file from the library onto the Stage in any place. If you do not see the Library panel to use CTRL + L (Mac: cmd + L).


Well, one could say that all this if you want to add sound to the other buttonsit is sufficient to do the same thing with the first button. Go to a movie clip and select the second frame on a layer of shares, drag theaudio file and go! 


See video








Brak komentarzy:

Prześlij komentarz