1 Reply Latest reply on Jun 16, 2006 2:20 PM by neil manuell

    click event on mx button in custom class

    neil manuell Level 1
      creating a class called ComplexSearch and have decided to use the button component.
      as far as I can see my code is fine, but I don't get my trace on the click event.

      if I put the trace on the compontent on(click) {} it works fine,
      if I use the addEventListner method as below, but outside my class on the time line it works fine...

      any suggestions??

      have attached the relevent code