When I was looking at the code again to reply to your message I noticed an error - now all the drop menus exit the stage ok - but for one…
The problem now is that the last drop menu revealed when the main nav button is rolled over stays on the stage unless a subnav button on the drop menu is pressed.
Any ideas how I can get the drop menu to exit the stage if nothing is pressed on the subnav?
I have tried to put an invisible button around the drop menu panel itself and put an onRollOut action but that clashes with the buttons on the sub menu.
Here is a sample of the code that I have on one of the main menu buttons that control the drop down menus:
It is basic, i’m not that good at as - many thanks for your help
//
on (rollOver) {
// drop menu
new mx.transitions.Tween(drop04, “_alpha”, mx.transitions.easing.Strong.easeOut, 0, 100, 1, true); // candidates
new mx.transitions.Tween(drop04, “_y”, mx.transitions.easing.Strong.easeOut, 0, 70, 1, true);
// remove any other drop menu that may be showing
_root.drop02._visible = false;
_root.drop03._visible = false;
_root.drop04._visible = true; // candidates
_root.drop05._visible = false;
_root.drop06._visible = false;
}
on (rollOut, releaseOutside) {
new mx.transitions.Tween (hilite, “_alpha”, mx.transitions.easing.Strong.easeOut, 10, 0, 1, true);
// I can’t use this button to hide the drop menu because the drop menu is a separate mc, if I used the-
// on rollOut action to hide the drop menu it wouldn’t be available for the user.
}