I’m having some trouble with one particular scene in my app. I have 3 scenes:
title - a title screen
menu - level selection screen
game - gameplay related stuff
Everything’s been working relatively well, gameplay starts up how I need it everytime I re-enter the scene BUT I’ve found a bug that occurs when I go from “menu” to “title” and then back to “menu” and start a new game with the selected level. This bug seems to cause every event to be fired TWICE. So the functions triggered by touch events happen TWICE, even enterFrame seems to fire twice. It will even happen three times if I go menu-title-menu-title-menu-game. It’s as though removeEventListener doesn’t do its job??
Can anyone help me? Is this a known bug?
Cheers
EDIT: Oh and this can happen even before I load the game scene for the first time, so I haven’t got a clue what is going on. [import]uid: 44147 topic_id: 17828 reply_id: 95732[/import]