Bearing in mind that I know nothing of ActionScript, you should be able to use a for loop and ECMAScript's idea of "objects as associative arrays:"
on (rollOver) {
_root.right1.colorTransformTo(30, 70, undefined, undefined, undefined, undefined, undefined, undefined, .1);
_root.right_text1.alphaTo(60, 1, "easeOutSine");
for(var i = 1; i < 5; ++i) {
_root['right' + i].xSlideTo(305 + (30 * i), 1);
_root['right_text' + i].xSlideTo(680 + (30 * i), 1);
}
_root.rollOverSound.start()
}
on (rollOut) {
_root.right1.colorTransformTo(100, 0, 100, 0, 100, 0, 100, 0, 2);
_root.right_text1.alphaTo(20, 2, "easeOutSine");
for(var i = 1; i < 5; ++i) {
_root['right' + i].xSlideTo(_root['right' + i].originalX, 1);
_root['right_text' + i].xSlideTo(_root['right_text' + i].originalX, 1);
}
}