// SETUP MENU
keyListener1 = new Object()
keyListener1.onKeyDown = function() {
if (Key.isDown(71)) {// G (PASON GAS)
_root.gotoAndStop("SETUP MENU 01");
}
if (Key.isDown(83)) {// S (SHUTDOWN)
_root.gotoAndStop("SETUP MENU 01");
}
if (Key.isDown(67)) {// C (COMM PORT 2)
_root.gotoAndStop("SETUP MENU 01");
}
if (Key.isDown(79)) {// O (TRACE ORDER)
_root.gotoAndStop("SETUP MENU 01");
}
if (Key.isDown(69)) {// E (SCREEN)
_root.gotoAndStop("SETUP-SCREEN 01");
}
if (Key.isDown(80)) {// P (PULSES)
_root.gotoAndStop("SETUP MENU 01");
}
if (Key.isDown(68)) {// D (DIAGNOSTICS)
_root.gotoAndStop("SETUP MENU 01");
}
if (Key.isDown(87)) {// W (WELL INFO)
_root.gotoAndStop("SETUP MENU 01");
}
if (Key.isDown(73)) {// I (MAIL STATS)
_root.gotoAndStop("SETUP MENU 01");
}
if (Key.isDown(88)) {// X (EXIT)
_root.gotoAndStop("MAIN SCREEN");
}
}
Key.addListener(keyListener1)