on (rollOver) {
gotoAndPlay(“On”);
}
onRelease = function() {
if (_root.section != “maskad4.swf”) {
_root.section = “maskad4.swf”;
_root.transition.gotoAndPlay(“closing”);
}
};
on (rollOut) {
gotoAndPlay(“Out”);
}
I need to write this function correctly but can’t seem to get it to work.
This is a button and on the rollover it play part of the movie. If the click the button it does an onload and a new .swf is loaded into the open movie. If they rollout of the button plays a different part of the movie.
Basically if they rollover the button it highlights. If the click the button it loads a movie. If the rollout of the button it does a rollout effect.
Thanks for the help.