I have spent one too many hours fooling around with this.
This is just a simple test, but I have an mxml component named
Test.mxml that is dispatching an event. I also have a
FrontController.as that is listening for events. When an event is
dispatched in Test, FrontController is not responding to it. When
the code is placed into one file it works dandy, so i am not sure
where the problem lies. I am invoking FrontController at the
Application. Thanks for helping me out on this. Its driving me mad.
But... Here I can see that your listening for events wich are
dispatched by the Application not your Test.mxml component. So, if
the App dispatches an Event your front controller will be able to
catch it, but if another component (like you Test.mxml) dispatches
an event your front controller will not be able to catch it.
Also I can see that your not making reference to your
Test.mxml component in your application.