Remove listeners in Director 1.2

This one is probably an easy one. I’ve been using director 1.1 but the screen1.lua file for director 1.2 is quite different. Where in the screen1.lua file for director 1.2 would I call my function that removes all of my listeners? I am using the director class for a game and all other examples I can find such as martian control and ghosts vs monsters use director 1.1. Thanks for your help. [import]uid: 31262 topic_id: 8448 reply_id: 308448[/import]

Anyone? Lets say I have a function called unloadMe() which removes my listeners. Where would I call it if I wanted to remove the listeners after the level is over? [import]uid: 31262 topic_id: 8448 reply_id: 30429[/import]

unloadMe() -> clean() [import]uid: 12088 topic_id: 8448 reply_id: 30435[/import]

Thanks for repsonding yuewah. So I can remove the listeners directly in the clean function like this?

function clean ( event )  
 listener1:removeEventListener(....)  
 listener2:removeEventListener(....)  
 ...  
end  

Sorry still very new at this and there is no real documentation for the director class. [import]uid: 31262 topic_id: 8448 reply_id: 30439[/import]

btw, if u look at the sourcecode, it is easy to find out. [import]uid: 12088 topic_id: 8448 reply_id: 30442[/import]