Flash - Adding Audio
Description
This tutorial will teach you how to add audio to a Flash document. You will learn two methods in this tutorial: Embedded and Action script. After doing both methods you will learn the strengths and weaknesses of each of the methods. (Audio file is available for download.) With the action script method you will use the following script, where audio_file.mp3 is replaced by your audio file’s name. (Make sure you keep the quotes around the file name and you have the audio file in the same folder as your Flash.)
var my_sound:Sound = new Sound();
my_sound.loadSound("audio_file.mp3", true);
Associated Files
f9-audio_actionscript.doc |
File Size: | 0 kb |
File Type: | doc |
Download File
f9-embedded_audio.fla |
File Size: | 2208 kb |
File Type: | fla |
Download File