View Full Version : Can anyone help explain how this menu was made?
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
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.
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
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.
vBulletin® v3.7.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.