All,

 

I am having a problem with removing event listeners on a panel.

 

I am adding the event listener like so:

 

            pane.addEventListener("contentCreated", Delegate.create(this, handleEvent) );

 

But trying to remove the event listener using removeEventListener does not seem to work. I have tried several variants:

           

            pane.removeEventListener("contentCreated", Delegate.create(this, handleEvent) );

            pane.removeEventListener("contentCreated", Delegate.create(this) );

            pane.removeEventListener("contentCreated", this.handleEvent );

            pane.removeEventListener("contentCreated", this );

 

and none seem to work.  I’ve been struggling with this for a good few hours and its driving me crazy, any help would be appreciated….

 

Ta

Mike Herron



Yahoo! Groups Links

Reply via email to