# Remove functions

**URL:** https://forum.kirupa.com/t/remove-functions/322293
**Category:** flash
**Created:** [May 17, 2011, 10:54am UTC](https://forum.kirupa.com/t/remove-functions/322293 "2011-05-17T10:54:12Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![deFacto](https://avatars.discourse-cdn.com/v4/letter/d/6bbea6/32.png) [@deFacto](https://forum.kirupa.com/u/deFacto)
#### Post date: [May 17, 2011, 10:54am UTC](https://forum.kirupa.com/t/remove-functions/322293/1 "2011-05-17T10:54:12Z")

</div>

hi  
I have a function (doAll) that includes a collision detection, upon collision I use several removeChild, removeListener statements.  
Below these I end the doAll function, and add several other listeners, however the removeChild statements cant find these objects and listeners.  
how could I solve this in an easy way?
