About Me

My photo
Spastic and Random are a few of the top layers

Wednesday, February 24, 2010

Tutorial

Loading and Playing External Sounds

1. First you need to save an MP3, WAV, or AIF into the folder that your working from to build your Flash project.

2. Then you want to provide the path of the MP3 file with an URLRequest.

The file is called “music.mp3” and the var name is mySound

3. Save your Flash file in the same folder as the MP3

Controlling Sound with Buttons

1. Create a button and name is stop_btn . Make sure you name the instance!

2. Open the actions panel and insert this…….

3. Make a play_btn too so when you stop the music you can also resume it. Name the instance!

4. Next is to open action script and add the play_btn actionscript.


Congratulations you added sound to your Movie!!!

Check out mine!

http://www.spring10.graphicinterfacedesign.com/students/cvose/tutorial/Tutorial.html