can I use the debugger to identify items on stage?
Hi all,
I have an app that uses several Loader objects to load extenral swf files. Things go well except for one point. I have a quiz element that's loaded through a loader named 'quiz'. When the quiz is done, I remove the quiz element with removeChild(quiz). The quiz disappears from the screen every time except for one question. I can't identify what's going on differently for that question. I've debugged this and can see that my quiz object is set to null, but I can plainly see the quiz still onscreen.
To further confuse me, I use the same loader object multiple times through the app, and just add it and remove it from the display list with addChild and removeChild. When my one problem question comes up and fails to go away, the app continues to the next question, and I can see that there are now 2 quiz objects stacked on top of each other. I have no idea how this can happen when I'm using the same loader object for all the questions.
Anyway, I'm hoping I can use the variables in the debugger to identify what I'm seeing onstage, but am not sure where to start looking. Are all dispaly objects that are children of the app within the stage in the debugger variables? The root? I'm just not sure where to look. If someone can tell me where to find the display objects on the stage or whatever in the debugger variables, that would be great and I can hopefully troubleshoot it from there.