On 1/17/08, Merrill, Jason <[EMAIL PROTECTED]> wrote:
>
> >>For example do you create a custom event for every custom
> >>event you need?
> >>or would you rather just say
> >>_myClass.myEvent("withParamsifnecessary");
>
> If I think I know what you're asking, I personally either dispatch
> events and have other classes listen for them (but avoid tight coupling
> between classes as much as possible), or sublcass existing classes and
> rely on the events they already dispatch. For example, in one class
> listen for the updateComplete event in another UIComponent class and
> then respond accordingly.
Thanks Jason.. that was the same idea that i had but i didnt know if I was
doing a lot of extrawork by creating custom dispatchers/listeners when I
could just talk directly to the class references...
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders