# Weakreference question

**URL:** <https://forum.kirupa.com/t/weakreference-question/228372>\
**Category:** Uncategorized\
**Created:** [June 7, 2007, 7:41am UTC](https://forum.kirupa.com/t/weakreference-question/228372 "2007-06-07T07:41:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![K2xL](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@K2xL](https://forum.kirupa.com/u/K2xL)\
**Post date:** [June 7, 2007, 7:41am UTC](https://forum.kirupa.com/t/weakreference-question/228372/1 "2007-06-07T07:41:50Z")

</div>

Okay, so after reading Skinner’s article [http://www.gskinner.com/blog/archives/2006/08/as3\_resource\_ma\_2.html](http://www.gskinner.com/blog/archives/2006/08/as3_resource_ma_2.html) concerning weak references, I am still a bit confused.

If I use removeEventListener, is it the same thing?

And since the listeners are removed automatically… does this mean if I have a Mouse click event listener and I weakly reference it that it could be removed by the GC before the user even clicks? Could someone give me an example of when it would work?

Thanks  
-Danny
