The case is:
I have some DO(DisplayObject), and I attach listeners to them, to listen to some my customized events. And I don't want to maintain references to these DO, because I don't want bother to tracing them. I render them for only a short period, and when I remove them from DL(DisplayList), I'm expecting they will be collected by GC(Garbage Collector).
That's all.
So I should set the weak-ref flag to true, when I call the method addEventListener():
// params: eventName, listener, capturePhase, priority, useWeakReference
someObj.addEventListener("eventName",myFunct,false,0,true);
Refs:
AS3: Weakly Referenced Listeners
WEAK VS STRONG REFERENCES IN AS3
AS3: Weak Listener References Not Appropriate During Initialization?