Hello,
I’m trying to create a clear button to remove all objects on the screen. I have created a group and inserted all the objects I wanted to be removed into it. Using Jon Beebe’s cleanGroup class, I remove the whole group and it works fine. However when I lose the level, any leftover objects from the previous show up on the next level, as if they are not inserted into a group. How do I fix this? Do I need to recreate the group I removed after it is removed and if so, how do I do this? Does anyone have a better way to remove all objects from the screen? [import]uid: 47722 topic_id: 13977 reply_id: 313977[/import]
[import]uid: 3826 topic_id: 13977 reply_id: 51467[/import]