Brian,
Using the SwizPopUpManager that Daniel Kroger supplied in answer to
SWIZ-30 I was able to manually set up a popup within a module
providing...
a) The parent application PopUpManager was set first, i.e import
mx.managers.PopUpManager and declare a variable in the parent
application (This is required anyway because of the flex domains)
b) I resisted making the parent application the parent of all popups,
and made sure the module view was the parent of it's popups. Obvious
really since your main application can't find the components to be
injected if they are only declared in your module swiz.
One limitation I found was because I am using a custom TitleWindow for
all my popups so the main work goes on in a sub-view of my dialog with
the TitleView being there for decoration. Although the TitleWindow
dialog was set up correctly in terms of [Inject] etc, the sub-view
wasn't. I guess I could modify the SwizzPopupManager to manually set
up the sub-views but I've almost lost the will to live with popups in
modules, so I'm happy with a manual binding.
If it weren't an absolute necessity to use modules I would ditch them.
Has anybody built a large application (in a sizeable team) without
using modules?
Cheers
Mike
> >
swiz-framewor...@googlegroups.com<swiz-framework%2Bunsubscribe@go
oglegroups.com>
> > .