Oh - and off the top of my head I can think of two fairly obvious
objections/complications:
i) Not type safe at compile time (but should(?) complain at runtime if
the wrong argument types are sent, at least in the debug player)
ii) Potential memory leakage with creating a closure - you'll have to
remember to remove the Callback object as a listener (unless you're
using weak references).

Ian

On 7/25/07, Ian Thomas <[EMAIL PROTECTED]> wrote:
> On 7/25/07, Sunil Jolly <[EMAIL PROTECTED]> wrote:
> > Does anyone know why Delegate is frowned upon? Seems like a simple and
> > elegant solution to the problem to me!
>
_______________________________________________
[email protected]
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