i was wondering if there was a way to make this code work:
var button = mcMovie1;
on (rollOver) {
button.gotoAndPlay(“two”);
}
on (rollOut) {
button.gotoAndPlay(“one”);
}
where “button” would be recognized as “mcMovie1”, a movie instance. this way i can just copy and paste the same code over and over and not have to replace 5-10 movie instance names(whatevermovieclip.gotoAndPlay…) for all of them; instead replace one line: “var button = whatervermovieclip”