When a non-PureMVC A.swf is loaded with SWFLoader into a parent non-PureMVC B.swf, in order to dispatch events from A.swf to B.swf, I use Application.application.dispatchEvent(myEvent) in A.swf.
I tried to use this same method loading a PureMVC C.swf into non-PureMVC B.swf. It failed. After much hair-pulling I discovered that in a A.swf Application.application refers to A.swf's application property. However, in C.swf Application.application does not reference C.swf's application property, but rather B.swf's application property (!!!).
My problem now is that B.swf needs to be able to handle loading both PureMVC and non-PureMVC swfs. Is this possible? In C.swf how do I reference it's application not it's parent's (B.swf)?