How to make this nav menu?

http://www.2advanced.com/portfolio/penguins/flash-header.jsp

I have a project coming up and it requires us to go out and learn something that we have not learned before. I’ve decided to go with Flash and I plan to make a Flash website. I went over most of the Flash tutorials last night and would like to start on a nav menu for the site.

Could someone please tell me how I could make a menu like that? How does the arrow follow the mouse around the menu like that?

Thanks so much in advance! :slight_smile:

Thanks guys!

I made a test menu and it worked perfectly, but when I began to use my actual images, it didn’t work very well.

Can someone check this file and tell me what’s wrong please? :slight_smile:

http://www.canucksfanzone.com/images/menu2.fla

Thanks a lot

smooth menu voetsjoeba.

how would you add a function for the arrow to rollout to a selected (pressed) button instead of always defaulting to -5?

Simply remove the on(rollOut) code on the buttons.

thanks for the reply. actually, i was thinking of something closer to the example in the original post: link. so, the arrow would default to -5 when no buttons have been clicked. but after a button is pressed, the arrow rollout would then default to the pressed button coordinates.

I don’t see what the difference between mine and Voets is?

no difference. sorry about that…somehow i didn’t see your posting with the fixed attachment :huh:

its alright

Thank you so much simpleSoft and Voetsjoeba! And also thanks to everyone else who helped :D!

I don’t have Flash on this computer, so I can’t see it right now. But looking at the comments from the people here, the menu should look awesome! Can’t wait to get home and check that out :slight_smile:

OKay I just checked them out and they look great :slight_smile:

Voets,
How would I make the starting point of the arrow at -5? Right now the arrow starts off on top of “Home”. How do I change it so it starts at -5?

click on the image: Ctrl+I that will bring up the info box. Now in the X column: type -5.

Sweet, the menu is now completed. Thanks :slight_smile:

All I need to do is add sound, which I will try my best to figure out, and i’m done!

1 last question for voets.

How do you change the speed of the ease?

Thanks

this._x = x-(x-this._x)/1.2;

on this line. Change the 1.2 to anything higher than that number. 1 is the lowest and it wil not move. 2 is pretty fast.

Yup, 1.2 is by what the distance between the current position and the target position is divided. So the higher this number, the smaller the result and thus the faster the movement. And the lower the number, the greated the result and thus the slower the movement. At 1, there is no movement because a distance divided by 1 is the same distance, so there is no change :slight_smile: