# removeChild .. removes from memory?

**URL:** <https://forum.kirupa.com/t/removechild-removes-from-memory/295715>\
**Category:** flash\
**Created:** [September 3, 2009, 12:02pm UTC](https://forum.kirupa.com/t/removechild-removes-from-memory/295715 "2009-09-03T12:02:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeancnicolas](https://avatars.discourse-cdn.com/v4/letter/j/7bcc69/32.png) [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)\
**Post date:** [September 3, 2009, 12:02pm UTC](https://forum.kirupa.com/t/removechild-removes-from-memory/295715/1 "2009-09-03T12:02:54Z")

</div>

Hi,  
I am loading in a swf into my file, via the loader class. When I remove this child … does all the swf remain in the memory, or is it discarded? I want to remove it entirely …

```auto
var myLoader:Loader = new Loader();
myLoader.load("thisMovie.swf");
addChild(myLoader);

// bit and bobs later///////////////

removeChild(myLoader);

```

Thanks … … . . . . . … . . .
