bilbo
08-20-2001, 11:08 PM
I have a menu that checks whether one is open; if it is, close it and open the one clicked. But it is not working and I don't understand why. The code on the button is
on (release) {
script.move (logomenu)
}
//There are three menus referring to up
In the script it is:
function move (up) {
up; //this is the file
down = ""; //downstate
//0 is the up position
if (_root.logomenu.logoup._y == 0) { down = _root.logomenu;
}
if (_root.printmenu.printup._y == 0) {
down = _root.printmenu;
}
if (_root.webmenu.webup._y == 0) {
down = _root.webmenu;
}
if (down != up) {
if (down != "") {
down.gotoAndStop (3);
//F3 makes the file go down
}
if (up != "") {
up.gotoAndStop(2);
//F2 makes the file go up
//_root.content.loadMovie ("logo.swf");
}
}
}
Or here are all the files
ftp.engr.orst.edu
radomido
oxzpudvc
Go to menu1. Thanks to anybody for help.
on (release) {
script.move (logomenu)
}
//There are three menus referring to up
In the script it is:
function move (up) {
up; //this is the file
down = ""; //downstate
//0 is the up position
if (_root.logomenu.logoup._y == 0) { down = _root.logomenu;
}
if (_root.printmenu.printup._y == 0) {
down = _root.printmenu;
}
if (_root.webmenu.webup._y == 0) {
down = _root.webmenu;
}
if (down != up) {
if (down != "") {
down.gotoAndStop (3);
//F3 makes the file go down
}
if (up != "") {
up.gotoAndStop(2);
//F2 makes the file go up
//_root.content.loadMovie ("logo.swf");
}
}
}
Or here are all the files
ftp.engr.orst.edu
radomido
oxzpudvc
Go to menu1. Thanks to anybody for help.