I am loading the module in my main application. If i press the button in the loaded module, the current module will be unloaded and the popup browser window will be opened. In which i am using some other application to load the module which was recently unloaded in the main application.
If i use the alert.show("") in the module opened in the popup browser window i am getting following errror
TypeError: Error #1034: Type Coercion failed: cannot convert mx.managers::PopUpManagerImpl@54769861 to mx.managers.IPopUpManager.
But the same alert.show in the module is working while loading in the main application .
Try adding this to the main application:
import mx.controls.Alert; Alert;
import mx.managers.PopUpManager; PopUpManager;
Flex SDK Developer
Adobe Systems Inc.
Thanks for your reply..
I am getting the same error while using the code you provided.
If i open the window as a separate browser window rather than the popup browser window i am not getting this error.
I tried those enties in the application which is used in the popup browser window to load the module. Now its working..
Thanks a lot.