whole_func_string: function(){
          var me = this,
              surface = me.getSurface(),
              destroySprites = me.autoDestroy,
              item;
              
          if (surface) {
              while (me.getCount() > 0) {
                  item = me.first();
                  me.remove(item);
                  surface.remove(item, destroySprites);
              }
          }
          me.clearListeners();
      }
func_code_string: function(){
          var me = this,
              surface = me.getSurface(),
              destroySprites = me.autoDestroy,
              item;
              
          if (surface) {
              while (me.getCount() > 0) {
                  item = me.first();
                  me.remove(item);
                  surface.remove(item, destroySprites);
              }
          }
          me.clearListeners();
      }
func_documentation_string: Destroys this CompositeSprite.