storyboard.purgeScene question

I was wondering if anyone is clear on storyboard.purgeScene.

If I am declaring everything as a local function or variable in the scene and I call purgeScene on it once the new scene has loaded, do I still have to remove display objects and nil variables? Or does purgeScene do this to everything that’s part of the old scene? [import]uid: 42417 topic_id: 25036 reply_id: 325036[/import]

@Hive, I just started reading the blog post on Storyboard API :

http://blog.anscamobile.com/2012/03/storyboard-scene-events-explained/

Search for a keyword “purge”, and it might just give you the answer you are looking for. purgeScene goes hand-in-hand with destroyScene.

If not… maybe someone more knowledgeable will jump in and explain this further…

Naomi
[import]uid: 67217 topic_id: 25036 reply_id: 101708[/import]

Appreciated but from what I’ve read, it’s still unanswered. Does destroyScene unload all the local objects, tables, vars, functions etc from the scene its destroying? [import]uid: 42417 topic_id: 25036 reply_id: 101710[/import]