Loops, Arrays and getting stuck!

Hi there,

I’ve been trying to write cleaner code, but every time i try, I get stuck! This is a perfect example, I know that its kind of wrong, but I have no idea how to fix it :frowning:

I need the ‘newPos’ to have a different value on each button, but it just doesn’t seem to work.

menuYpositions = new Array(0, -34.5, -69, -103.5, -138);

for (i=1; i<5; i++){
clipName = eval(‘mcRollOver’ + i);
clipName.onRollOver = function(){
newPos = menuYpositions*;
yTapeScale = new Tween(mcMenuText.mcAllText, “_y”, Strong.easeInOut, mcMenuText.mcAllText._y, newPos, 15, false);
}
}

Any one have any ideas?