Runtime EventListeners and Director

Hi guys,

I'm having a bit of trouble with a Runtime EventListener which runs on the main menu screen of my game. When I switch screens, I remove it, and then add it again on the 2nd screen.

On the 2nd screen there is also a back to main menu button, which again removes the listener, then when you go back, it adds it again without a problem.

The issue is that the event listener on the 2nd screen doesn't always fire for some reason, yet the one on the main menu screen always does.

Hi it may be some bug in your code. can look into it if you can post your code. :)

views:1286 update:2011/10/12 18:33:00
corona forums © 2003-2011