Load a Sound in Flash.
Load a Sound:
1.Create new Mp3 file.
2.In Flash, Select the first frame and press F9.
Copy below and Paste it.
Syntax:
loadSound(url:String, isStreaming:Boolean)
var my_sound:Sound = new Sound();
my_sound.loadSound("sound.mp3", true);
Set Volume for Sound:
Syntax:
setVolume(value:Number)
my_sound. setVolume(50);


LinkBack URL
About LinkBacks


Reply With Quote
