1 Reply Latest reply on Dec 13, 2006 6:08 PM by Newsgroup_User

    Buttons in Director

    leftblank
      Hi, I'm running Director MX 2004 on Mac OS X and I'm having trouble with the simplest Lingo task possible! I can create a rectangle and attach a Lingo script to it as follows:

      on mouseup me
      beep
      end

      This, as I'd expect, plays a beep when I click on it and release the mouse button. However, when I attach the same script to a button, it doesn't play the beep when I click on it. What have I done wrong?
        • 1. Re: Buttons in Director
          Level 7
          You've probably used a #flashComponent button, in which case you need to
          open the Property Inspector with the button member selected in your cast
          library and look at the Flash Component tab. Down the bottom is a
          property named #eventPassMode - set it to #passAlways