PDA

View Full Version : Grow Type Menu Help



mediumman
October 24th, 2007, 11:26 AM
I am using MC_Tween to create a grow type menu....there are 9 items in a vertical line....when you roll over an item it scales to 100% from 80%.....this causes the other items to move both up and down in the line to adjust the space between each other.....i am using the code below to have each item follow each other....this makes mc1 move up as mc2 grows....however i cannot simply set this for mc2....instead it makes the whole line move in one direction......so how do i just set a standard width between all the items? any help is appreciated....

onEnterFrame = function () {
mc1._y = mc2._y-mc2._height-7;
};