18 Replies Latest reply on Aug 14, 2008 9:26 AM by Shandy Elliott

    onRelease function "catches" (disables) buttons rollovers

    Level 7
      Hello,

      This must be a simple one but...

      I need to have buttons with a "selected" state, so I made a two frame mc
      with actual button on frame 1 and selected state on frame 2.

      To switch state, I added a onRelease function on the timeline :

      myButton.onRelease = function() {
      ...
      };

      Everything works fine, except buttons don't react anymore when mouse is
      over, like if this function was "catching" every mouse event (which it
      may do, actually).

      Do I have to add a kind of "pass" command ?

      Do I have to rewrite rollover for EACH button ?

      Thanks in advance.

      PJ