Joined: 05 Jan 2012
|Posted: Thu May 03, 2012 9:57 pm Post subject: listen to an event in two different classes - issue
I'm dispatching an event in Flex 4.5 with Parsley 2.4.1 and there are a couple of [MessageHandler] listeners. The first listener gets invoked however the second one doesn't.
The first listener lives in Module A, and the second listener lives in Module B.
Both Modules are managed by parsley and have their own context files are instantiated with Parsley using the Configure tag.
This, again, used to work in Flex 3 with a previous version of Parsley and I cannot understand why the second function with the annotation and the same type of event is not invoked. I tried adding a selector to both MessageHandlers to see if it would make it work but to no avail.
Is there anything else I could try or any way I could find out why the listener is not catching the event?