Hi,
I really like the effect that using a mc as a button allows for, however when I want to have a rollover button sound, it is a bit delayed, since I have to put the sound on the last frame of the mc. Is there a specific bit of code like an ‘onRollover’ that you can use for mc buttons?? Below is the code I’m putting ont he first frame of the mc timeline, (last frame just has stop action.)
Any suggestions?! Thanks in advance.
stop();
this.onEnterFrame = function() {
if (rewind == true) {
prevFrame();
}
};
this.onRollOver = function() {
rewind = false;
play();
};
this.onRollOut = function() {
rewind = true;
};
this.onRelease = function() {
_root.contents.loadMovie(“print.swf”);
}