Use mx.core.FlexGlobals.topLevelApplication for the top level object.
For the current object view it's only easy to get a hold of it if your plugin owns it, i.e. when the view's mediator "set view" method gets called.
Use mx.core.FlexGlobals.topLevelApplication for the top level object.
For the current object view it's only easy to get a hold of it if your plugin owns it, i.e. when the view's mediator "set view" method gets called.