PDA

View Full Version : Can anyone help explain how this menu was made?


Loft
02-06-2006, 11:29 AM
http://www.flash-template-design.com/preview.php?tid=1425

What i dont understand is how they move in a set area above and below the links and not all over the place?

I would be very greatful if somone can explain to me how this is done

Thanks

Tink
02-06-2006, 07:59 PM
only their _y property is being changed so they always keep in the same column.

the _y property is only affect if the _xmouse is bigger the clips _x value and smaller than ths sum of the clips _x + _width.

Loft
02-13-2006, 08:55 AM
only their _y property is being changed so they always keep in the same column.

the _y property is only affect if the _xmouse is bigger the clips _x value and smaller than ths sum of the clips _x + _width.

Thanks for the reply but im finding it hard to understand, i get that its only on the Y, but i didnt get the part where you said about how it sating in the Y?

thanks for your time

Tink
02-13-2006, 11:33 AM
each item has an _x property (i.e. its horizontal position), and each item has a _width (i.e. how wide it is).

if the mouse position is larger that an items _x property, but less than its (_x property + its _width property), then the item is moved on its _y axis to the vertical position of the mouse.