PDA

View Full Version : borders that transition smoothly over menu buttons


flyingtrapeze
12-30-2001, 05:48 AM
A little piece of mini-amazement can be found at
www.themediaco.com.

Advice please!
How did they get those alpha borders over the menu buttons
to change size proportionately and slide over all the buttons?

Originally, I wanted to create that border as a "on mouse over".
But that doesn't transition the border from the current button
to its neighbour.

Then I figured its a MC, with a way to read the size of the button
and proportion the border accordingly. Am I right or just trying to
ride my bike through the Sahara?


Thanks!

jimburton
12-30-2001, 08:13 PM
I'm not entirely sure which part of the nav you're referring to, but I agree, that's a nice menu...

Re your question, you're on the right track - yes put a button in there too if only to get the user-friendly hand cursor but also for the easily scripted button actions (combining the movieclip.hittest method with mouse event handlers is the alternative to a good old on(release)...), but for a sophisticated menu you'll involve movieclips in order to script their size, position, etc, etc. The only restrictions are imposed by your compassion for your poor old user trying to get his head round your menu! You could get cracking with this tutorial (http://www.actionscript.org/tutorials/advanced/ADVANCED_SLIDER_MENU/index.shtml)

flyingtrapeze
12-31-2001, 03:15 AM
Jim, I love hitTest advice and love the Elvis constume.
Looks like me and the slider menu can't get enough
of each other.
Thanks!
Best,
E.