# Cleanup Question

**URL:** <https://forum.kirupa.com/t/cleanup-question/291644>\
**Category:** flash\
**Created:** [July 2, 2009, 5:54pm UTC](https://forum.kirupa.com/t/cleanup-question/291644 "2009-07-02T17:54:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmennenoh](https://avatars.discourse-cdn.com/v4/letter/d/9dc877/32.png) [@dmennenoh](https://forum.kirupa.com/u/dmennenoh)\
**Post date:** [July 2, 2009, 5:54pm UTC](https://forum.kirupa.com/t/cleanup-question/291644/1 "2009-07-02T17:54:24Z")

</div>

I have a class, circle, that places instances of a dot clip from the library in a circle over a set amount of time.

The dots are added to a sprite, created by circle, and the sprite is then added to a game sprite, passed into the circle class. So I have a sprite, with a bunch of library instances contained within.

My question - can I simply removeChild on the main sprite, containing the dots, or do I need to first removeChild on each dot, and then remove the sprite?
