How can I get instance of sub-application? As I understand, FlexGlobals.toplevelApplication returns the host app.
I mean get the instance of the sub-application inside this sub-application. My idea was to create a class with the static property and then set it to the sub-application instance when appropriate event is triggered.
The sub-app is the ‘this’ pointer for all code in the sub-app’s MXML file. It is the parentApplication property value of any child UIComponent. Other things should be passed some context information.
Europe, Middle East and Africa