How much do you want to write? 
This little utility will automatically tween an animation to stretch and shrink menu items on rollover/rollout using a user-defined “expansion factor”. The direction of expansion/contraction (horizontal or vertical) can easily be altered by changing just ONE line of code and by arranging items on stage in your desired layout. It also uses a nice little ColorMatrixFilter fade effect to tween the images from colour to black and white and vice versa. Each item can also be clicked to open a desired URL (this could easily be altered to call an internal function or jump to a root timeline frame for example)
A horizontal layout FLA and a vertical layout FLA is included in the download (both using the EXACT same assets) to show how little change is required to display different orientations, a different number of menu items and the effect the expansion factor has.
NOTES
{xInit:arrElements[4][strPropertyToMove], strLink:"http://www.flashden.net"}
If the items were simply rectangles then there’d be no need for this gradient.
When I mouse over one of the sections, it expands. Can this control be configured to stay in that expanded size until I mouse over another sections?
Posted 5 months ago
How do I set the target to “main” on the script ? I am working with an Iframe so I need to content to go to the my central frame.
Posted 2 months ago
Hello Great short cut – thank you. If I want to lose the bouncing arrow can I achieve this without affecting the rest of the actions? Many thanks
Posted 27 days ago
Can I make the buttons expand horizontally as well as vertically…and can I make it expand to a larger size when clicked??
Posted 3 days ago
Can I make the buttons expand horizontally as well as vertically…and can I make it expand to a larger size when clicked??
Posted 2 days ago