Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

problems with pop-up menu items

Status
Not open for further replies.

mechro99

Programmer
Nov 27, 2001
54
US
Well, I thought I could figure this one out, but alas.

I'm trying to do something very simple with a navagation bar. I want to have submenu items pop up when the main menu items are rolled on. I've managed to get that far, and the submenu items link to their respective sites properly.

However, the main menu item buttons are not working once their submenus pop up. It's like the button is behind something that's keeping it from becoming clickable.

I've moved things around, and have found ways to make the main buttons work. But when I get those working, suddenly the submenus stop popping up. I just keep going in circles.

Any help would be great.
Thanks.
 
Thanks, those are really good. But they're all a little more complex than what I need. Check out the navigation at
It's basic, and the roll overs and outs are perfect. Sometimes mine don't register. A popup will remain if the mouse is moved too fast.

Any simpler samples I can see?
 
I have experienced that problem too: a menu item remains activated when i rollout the button if i move the mouse too fast...i have done a menu these days...and i have the same problem...but i don't have a rollout action on the button...i use an invisible button with the rollover actions (the invisible button is all the area outside the button)...and from my experience the problems appears only if you don't have a rollout action on the button...

So for your problem: i will tell you how i would have done

1. timeline structure
make some buttons on the main stage ... each in a movie...so let's say 5 movies with the buttons inside.
2. movie structure
inside the movies make a layer that has the button, a layer for the actions(add a stop action on the first frame and stop actions before each frame label and at the end of the movie), a layer for the labels(in - on the second frame,out - let's say on frame 5 for e.g.), and a layer for the popup menu.
3. pop-up menu
this layer will be from the second frame till 4th frame(the frame before out label, here you will have a stop action on the actions layer)


on the button you will add this actions:

on(rollOver){
gotoAndPlay("in");}
on(rollOut){
gotoAndPlay("out");
}

...and that's all.

SO on the timeline: the movies for each button , movies that have 4 layers(actions, labels, button, pop-up)..and so on

Hope you get an idea of all this :)
Bye!

Regards,
Dragos.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top