Buttons don't have to look like "buttons" they can be animated clips. Create a button that has two states where at least 1 state is an animation:
state 1
|
state 2 ![]() |
state 1
|
state 2 ![]() |


stop();
stop();
_root.snd.onSoundComplete=reset;
function reset(){
gotoAndStop(1);
}


snd=new Sound(); stop(); _root.clip_name.onRelease=function(){ snd.attachSound("sound_name"); //ths goes to animation this.gotoAndPlay(2); //this plays sound snd.start(0,1); }