all groups > flash actionscript > february 2004 >
You're in the

flash actionscript

group:

Navigation


Navigation jeffhtx01
2/23/2004 7:49:18 PM
flash actionscript: Greetings,
I am interested in creating the type of naviation used for the macromedia home
page (header nav)
I assume the rollover starts a movie clip, but then what?
I am looking for tech notes or a tutorial that might explain the "basic
mechanics" of how this works.
thanks again for any help.
j
Re: Navigation ufitzi
2/23/2004 8:14:17 PM
Create 2 new layers in fla

layer1 - this will contain your "main nav"
frame 1 has your nav buttons. Each will have action script "on" them. This
is accomplished by clicking on the botton, then opening your actions pane(F9).
the action you need is on(rollover)-> gotoAndPlay(#)
This is obvioyusly not exact code. You need to go to the frame # where your
sub-nav buttons for the associated main-nav button are visible. That is what
layer 2 is for

layer2 - this layer contains your sub-nav buttons. Create a keyframe on a
frame (say 10) and create the sub nav buttosn for a section. Place them where
you want and put actions on as needed. Repeat this for each section of your
main nav. remember you need a new keyframe for each sub-nav section, both to
insert the right buttons and to make any previous buttons disapear. GOOD LUCK

Re: Navigation jeffhtx01
2/28/2004 7:53:01 PM
I followed the instructions and this seems to work ok... however, once I direct the mouse to the "sub -nav" I lose the "highlighted" state of my primary navigation.
AddThis Social Bookmark Button