5 Replies Latest reply on Sep 16, 2009 1:26 AM by _Natasha_

    removeEventListener issue

    phil1943 Level 1

      can anyone see why I cannot remove this event listener ?

      Thanks for any help.

       

      adding it:

      currentTextArea.addEventListener(Event.ENTER_FRAME,function() {myUpdateCoords.updateCoords(myPropertiesPanel,currentObject,currentLine)});
      removing it:

      currentTextArea.removeEventListener(Event.ENTER_FRAME,function() {myUpdateCoords.updateCoords(myPropertiesPanel,currentObject,currentLine)});