Mouse control - menu

I need the mouse movement (up and down) to control the expansion / collapsing of a menu.

You might need to explain a bit more than that mate!

Sorry. I have a horizontal menu system that expands and collaps whem the mouse touches the top area of the menu. What i want is the menu to slowly expand when the mouse moves closer to the menu. Likewise the menu should collaps when the mouse moves away from the menu.

Just like http://www.gucci.com/uk/index2.html
When you move the mouse slowly towards the menu it begins to expand. When you move away it slowly collapses.

Hope you can help…

you would need to have an ‘onEnterFrame’ that checks the _y value/location of the mouse. Depending on this value, you can then adjust how low the menu should drop…