I just built an animated menu using multiple movie clips. I'll list an example of ActionScripting I used.
button1.onRollover = over;
button1.onRollout = out;
button1.text.buttonText.text = "HOME";
function over() {
this.gotoAndPlay(2);
}
function out() {
this.gotoAndPlay(6);
}
made a nice little animated menu, works fine at the moment. The problem I am having is sound. I want to add a little sound effect on the .onRollover state without messing it up. Any help would be greatly appreciated.
button1.onRollover = over;
button1.onRollout = out;
button1.text.buttonText.text = "HOME";
function over() {
this.gotoAndPlay(2);
}
function out() {
this.gotoAndPlay(6);
}
made a nice little animated menu, works fine at the moment. The problem I am having is sound. I want to add a little sound effect on the .onRollover state without messing it up. Any help would be greatly appreciated.