EventListeners not removing, why?

Hi,
I am controlling my screens by adding all display items and certain groups to an array ScreenFields[]. I add events using the ScreenFields[]:addEventListener() to whatever fields I need events for. The problem is that I fake popups by drawing a square on top of the screen and need, therefore to remove all of the event listeners from the screen under my popup. I have tried 2 approches and it does not seam to work:

for i = 1, NbrOfItems do
ScreenFields[i]:removeEventListener(“tap”, TappedItem)
ScreenFields[i]._functionListeners = nil
ScreenFields[i]._tableListeners = nil
end

while this code does not give me any errors, I still have events tied to my bottom screen. I need a procedure that will scroll all of the items on a screen and remove all of the event Listeners.

Any help would be appreciated.

Thank you [import]uid: 97768 topic_id: 17811 reply_id: 317811[/import]

Provide more code ) [import]uid: 65903 topic_id: 17811 reply_id: 67993[/import]

Thanks but I resolved my problem. I changed the page to all go to the same event listener so that it easier and cleaner to remove the event listeners. It now works like a charm. [import]uid: 97768 topic_id: 17811 reply_id: 68215[/import]