# Question about Reducing Display Object References Tip from Senocular

**URL:** <https://forum.kirupa.com/t/question-about-reducing-display-object-references-tip-from-senocular/323284>\
**Category:** flash\
**Created:** [June 23, 2011, 3:23pm UTC](https://forum.kirupa.com/t/question-about-reducing-display-object-references-tip-from-senocular/323284 "2011-06-23T15:23:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stink6](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@stink6](https://forum.kirupa.com/u/stink6)\
**Post date:** [June 23, 2011, 3:23pm UTC](https://forum.kirupa.com/t/question-about-reducing-display-object-references-tip-from-senocular/323284/1 "2011-06-23T15:23:03Z")

</div>

On Senocular’s page [http://www.senocular.com/flash/tutorials/as3withflashcs3/?page=2](http://www.senocular.com/flash/tutorials/as3withflashcs3/?page=2)  
there is a Tip: Reducing Display Object References I need help with.

if I do:

```auto
addChild(new CustomMovieClass()).name = "myMovie";

getChildByName("myMovie").addEventListener(MouseEvent.MOUSE_DOWN, fname);

then

removeChild(getChildByName("myMovie"));

```

without removing the listener, does that still leave a reference to “myMovie” in memory?
