1 Reply Latest reply on Dec 2, 2007 12:25 PM by tdriley

    Director Help: OnClick

    dntel
      Hey people, i want to have an onclick member change, but am unsure of how to do it as i am pretty new with director, it will be the same as having a rollover member change but i want it to wait to change, once the user clicks the button, anyone got any ideas? thanks a lot
        • 1. Re: Director Help: OnClick
          tdriley Level 1
          The behaviour code for your rollover change you've already made will look something like:

          on mouseEnter me
          change the member
          end

          The behavious code for a click change will look something like this:

          on mouseUp me
          change the member
          end

          basically you can use your rollover code but change the first part to mouseUp (to change when the user releases the button) or mouseDown (for when the user presses the button).

          Hope that helps.
          T