0 Replies Latest reply on Dec 26, 2011 6:21 AM by BubbaRichard

    removeEventListener does not remove a event assigned in the designer?

    BubbaRichard

      I have two images repeating numerous times. To reduce code the two images call one of two functions on their click event. I need to switch the events that two items are subscribed to so I tried using removeEventListener and I tried it twice with useCapture set to true then false (suggestion from the help) but it refuses to remove an event assigned at design time. Is this by design and do I have to assign the click event in code to all 200 of my images?

       

      Thanks,

      Bubba