Hi all,
I need some technical help with this menu, I am not that familiar with actionscript, so here goes ( hope this does not sound too confusing)
I have a flash dropdown menu with submenus below. Currently the menu has 5 main buttons and when you mouse over each button they have horizontal submenus below.
I would like the first button “HOME” to display it’s submenu options when you enter the site - basically to be visible without having to mouse-over. The problem is that people don’t see that there are submenus straight away.
all the main buttons are within a movieclip called “nav” with the following actionscript:
onClipEvent (load) {
gotoa=_alpha;
_alpha=100;
}
onClipEvent (enterFrame) {
lefta=gotoa-_alpha;
_alpha+=lefta/5;
}
each button appear on a different frame each with their own frame names nav1, nav2, nav3 etc…
The main buttons have the following actionscripts
onClipEvent (load) {
nav=3;
onClipEvent (load) {
nav=4;
etc…
of the stage there is another movieclip called subnav - contains the dropdown buttons…
the subnav movieclip has the following actionscript:
onClipEvent (load) {
nav = 2;
gotoAndStop(nav);
_y = -27;
}
onClipEvent (enterFrame) {
if (_root.nav == nav) {
gotoy = 0;
} else {
gotoy = -27;
}
lefty = gotoy-_y;
_y += lefty/5;
}
and has the nav2 movieclip inside with the dropdown buttons each on a frame
How can I set the first dropdown to be visible instead of using the onclipevent?
Please can someone assist ? The file is too big to attach…
help appreciated
thanks so much