What would be the best way to clean up my scenes?
class Scene extends Sprite
{
public var scene_name:String;
public function new()
{
super();
}
public function draw() {}
public function update() {}
public function destroy() {}
}
is doing a removechild on stage sufficient? or do I need to do more stuff in myscene.destroy()
should I iterate over the scene instance and recursively remove all children?