I was wondering if I am doing something correctly when adding listeners
to objects. My question is, if I remove the listener is the code below
then the right way. Do I use the Proxy class (or mx.utils.Delegate) also
when I remove the listener??

//adding a listener
this.currentDisplayObject.addEventListener('onContentCleared' ,
utils.Proxy.create(this ,  onBlockContentDestoyed , 'text ' , url))

//removing it
this.currentDisplayObject.removeEventListener('onContentCleared' ,
utils.Proxy.create(this ,  onBlockContentDestoyed))

Thank you

Jiri

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to