I've attached my code. Pretty straightforward I've read previous articles stating that I can only close a child scene by the parent scene. Is there another way of doing this for the sake of clean code?
So this is functioning as you'd like and you're just looking for alternative ways to do it, or is something going wrong with what you have here? If it's already functioning correctly for you, my opinion of the cleanliness is that this is fine. What don't you like?
I cannot close this child scene with the following code. The key event occurs but doesn't destroy the scene. I would like to destroy the scene from this xml file and not from the main scene for the sake of not adding more complex code to the main scene.
Oh I don't think you can do this. In the RSG app I'm working on, the main scene has tons of logic as it's the top level controller of everything happening. There's just one scene that stays open the whole time and opens other components by attaching them as child to its containers. And the one scene has all the logic for controlling (showing and hiding) those containers as if they are different scenes.