Hi,

> Also, in FlexJS, we want very few if any custom events to bubble.
> Bubbling was overused in regular Flex and was, IMO, a bad practice because
> it breaks encapsulation.

Events provide encapsulation by allowing application to respond to changes 
outside of the object. IMO it’s also a good practice because it encourages 
loose coupling.

If we shouldn't be using bubbling in FlexJS why does just about event Event (30 
odd) have a bubbling attribute and more than 3/4 have a cloneEvent method? 
Either we shod be fixing the broken one or removing the methods on the existing 
event classes - which is it?

Thanks,
Justin

Reply via email to