I have another question.

Can class2 hear an event dispatched in class1?
Can main hear an event dispatched in class1?


class1
class2
includes an event dispatcher                          includes an event
listener that is listening
            \
for class1 custom event
                     \
/
                             \
/
                                     \
/
                                             \
/
                                                 V
V
                                                  main.mxml
                                                imports both class1 and
class2 and creates an instance of both classes
                                      includes an event listener that is
listening for class1 custom event
                                                
this.addEventListener("class1CustomEvent", handler);            //this =
application


Thanks


Reply via email to