[FONT=Fixedsys][SIZE=5][COLOR=seagreen]Hello,[/COLOR][/SIZE][/FONT]
[FONT=Fixedsys][SIZE=5][COLOR=#2e8b57]I am trying to add a 1 second WHOOSH! sound to a button rollover for a cool effect. The button is a MC that I have an alpha effect for and I would like to get it to play a sound whenever I rollover it. I was following this tutorial from kirupa, but it did not say anything about adding a sound, so i Decided to post this in the forums. I know this is probably something very simple, but I don’t know where to start. Please help. here is my source code…[/COLOR][/SIZE][/FONT]
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
this.onRelease = function() {
_root.gotoAndStop(“Photos#3_BIG”);
}