[Resolved] Clearing Group from Scene

I am developing an app where on one scene I display and save a group as an image and then change scenes. However, the group is still displayed on the other scene. How do I clear the screen before or after I redirect so the group doesn’t show up on the next scene?

I save the group (name is group) using:

[lua] local baseDir = system.DocumentsDirectory
display.save(group, “image.jpg”, baseDir)
director:changeScene(“nextScene”)
[/lua]

The group will be display in “nextScene”. I have tried the following which didn’t help.
[lua] local baseDir = system.DocumentsDirectory
display.save(group, “image.jpg”, baseDir)
group:removeSelf
group = nil
director:changeScene(“nextScene”)[/lua] [import]uid: 152084 topic_id: 27140 reply_id: 327140[/import]

This probably belongs in the Director subforum - but are you inserting all images into localGroup? [import]uid: 52491 topic_id: 27140 reply_id: 110255[/import]

I solved the problem. [import]uid: 152084 topic_id: 27140 reply_id: 110338[/import]