2 Replies Latest reply on Oct 31, 2008 7:45 AM by dc_mccarron

    Hidden Button

    dc_mccarron
      Hello forum,

      In making an exhibit interface, I feel the need to have a hidden "quitPlayer" button somewhere throughout my movie. I have created the button, and using the following simple script, I can have the player terminate:

      on MouseUp me
      quit
      end

      Since the button is hidden but not impossible to press by accident, I wonder if there is a way to have the button only accept the mouseUp command when the Shift key is pressed (the keyboard is not within reach of exhibit users). Does anyone have scrip suggestions that will only allow the player to end on the condition that the Shift key is being held?