I found something like this:
I have the sound-effect in my Adobe Flash's library ... where should I put it and how to make the script know to play that one?
Code: (actionscript)
var snd:MySound1= new MySound1();
soundbutton_MC.addEventListener (MouseEvent.CLICK, soundbutton_Handler);
function soundbutton_Handler (e:MouseEvent):void {
snd.play();
}I have the sound-effect in my Adobe Flash's library ... where should I put it and how to make the script know to play that one?





