5 Replies Latest reply on Jun 9, 2010 8:46 AM by Flex harUI

    IActiveWindowManager not available?


      I upgraded to Flex4 this week and have started migrating some legacy code. One issue Im running into are calls to



      var awm:IActiveWindowManager = IActiveWindowManager(sm.getImplementation("mx.managers::IActiveWindowManager")) ;



      are returning null. This occurs in PopupMgrImpl.as and MenuBar.as. (haven't looked further).


      It isn't universal in my apps - only in one case so far though its prevalent there. The app in question is a test container for a module that runs in another app. The functions in question fail for the module in the test app and when the module is run in a different context. The functions *do not* fail for other modules in the main app.



      What am I doing wrong such that this 'window manager' isn't responding?