PDA

View Full Version : Dropdown menu like Nikeusa.com


eamiplanet
09-30-2002, 03:45 AM
hai.. everybody....

i just wonder how to create a flash dropdown menu navigation like nikeusa.com and here the link for sampel. Don't you thing is so cool.

http://www.nike.com/usa/index.html

maybe somebody can provide me the online tutorial links or make a good tutorial.

thanks guys... yeahh especially Jesse.. and Crew.. thank you again ..

-eamiplanet-

farafiro
09-30-2002, 07:12 AM
hey eamiplanet
this is quite a bit easy, if u know jow to use buttons and a simple frame actions like stop()
let me try to explain a little here: First we build the right main buttons that will be still all the time
we arrange them in a row and make sure that every text is a button
Also make sure that they all stay on the first frame
Now, it's the time o make our sub menus so, we make every sub menu in a seperet frame and all of the Sub menus in a new layer.
Also make sure that u start in a frame later than the Main manu, like frame 2 for Sub menu 1, Frame 3 for Sub menu 2,.... and so on
We need another layer on the top for the Actions
for every frame we have a menu in it we need to put a stop() action, or for ease we put it only on the first frame and we stretch the frame to the last used frame (if it is frame 10, so we add a frame to frame 10 by hitting F5)
Time to make our actions:
#for every button that opens another sub menu we pout that actionon(rollOver){
gotoAndStop("sub1")//here I use a frame lable, u can use frame number
}
//publish/test

Tell me if it worked

eamiplanet
09-30-2002, 08:41 AM
Hai FaraFiro... salam

First i would like to thank you for helping me,


hemmm.. i tried you concept and idea.. but sorry to say i don't think it gonna workout,

The biggest problem is when we rollout from the sub menu

ok here the situation.... when i rollover the main menu button1 and the submenu 1 will appear, but when i rollout, the submenu is still there, it wouldn't dissappear... this is what happen but.. if i put the rollout action at the submenu button:

--------------------------------------------------------------------------------
on(rollOut){
gotoAndStop("1")//here I use a frame number
}
---------------------------------------------------------------------------------
i guess there is something to add on the scripts to hold the submenu to stay appear when we roll over the submenu and the submenu will dissappera when we roll out...

i hope you guys can help me out here.. anyway thank you again for your help FaraFiro.. really appreciate that.. thank you again

farafiro
09-30-2002, 09:12 AM
ok, i can send u an example, bu tell me
u r on MX or Flash 5

eamiplanet
09-30-2002, 09:14 AM
i'm on MX but i also have the flash 5.. anything Fara..

anyway thank you very much

Thanks alot
-eamiplanet-

farafiro
09-30-2002, 09:41 AM
here is MX one

SALAM ??
so from where u r buddy??

eamiplanet
09-30-2002, 10:15 AM
HEMMM:confused:

Thank alot.. for the zip file.. yes the submenu is appear when we rollover the mainmenu.... but when you tryy to put your cursor to go to the submenu to click... the submenu is dissappear...

i hope you got what i mean.. the function is little bit like the nike navigation menu:::: rollove the mainmenu and the sub menu will appear then you can click the button on the submenu to reach your destination.:::::

:):)
thanks really appreciate

farafiro
09-30-2002, 10:24 AM
I thought it's a bit easy

eamiplanet
09-30-2002, 11:01 AM
:D hemmm what can i say fara... thanks again.. sorry to put in trouble again and again... hope you can help me out here :)

yeahh the second zip file that you've given to me is work out..... :)
that only workout if you have 1 single button in submenu #1...

but i tried already it not workout if you put few buttons 1- button3 in the submenu#1... i mean something like this

mainmenu1>> submenu#1
.......>>button 1
.......>>button 2
.......>>button 3
mainmenu2>> submenu#2
mainmenu3>> submenu#3



the biggest problem is when you in the submenu#1... yeah you can click the button 1 BUT when you start to rollout from button 1 to reach button 2 r button 3.. the submenu#1 will dissappear... this is what i mean...

i don't know.. it like all the button1-3 in one MovieClip subMenu#1.. so that Movieclip can hold the button1-3 if the mouse still in the MovieClip Area but it will dissappear when we rollout from the MovieClip... i'm not sure.. but i'd try few times.. still couldn't get it right...

thanks again alotttttttttttttttttttttttttttt:):):)

farafiro
09-30-2002, 11:08 AM
just re-shape the hit state in the button