The problem is that you assign a onRollOver event handler to the buttons twice, so the second assignment overwrites the first one.
A possible solution could be to write
ActionScript Code:
vNav001.moveOut = moveOut;
instead of
ActionScript Code:
vNav001.onRollOver = moveOut;
and then in the second piece of code
ActionScript Code:
_root["vNav00"+i].onRollOver = function() {
[U]this.moveOut()[/U]
_root.spiral_mc._x = random(Stage.width);
_root.spiral_mc._y = random(Stage.height);
onEnterFrame = function () {
_root.spiral_mc._alpha += 5;
};
};
and then do the same for moveIn and onRollOut
BTW you should check out variable scoping, it's very important that you understand what the scope of a variable is, look up "var" and the topic "variable scoping" in the flash helpfiles