Alex would probably be recommending extending TitleWindow in a way 
that allows you to use it as a top level module.

See this: http://blogs.adobe.com/aharui/2007/08/
popup_dialogs_as_modules.html

--- In flexcoders@yahoogroups.com, "hr1ny" <[EMAIL PROTECTED]> wrote:
>
> Gregor,
> Thanks for your post. I agree with you that Alex's blog contains 
the 
> relevant info.  I did move the popup module's Event classes into 
the 
> parent app, and the problem of Type Coercion goes away (though I'd 
> rather find a solution that did not require this).  But one other 
> aspect of Alex's recommendation mystifies me.
> 
> He recommends putting the TitleWindow inside the Module, like this:
> 
> <mx:Module>
>  <mx:TitleWindow>
>  ...
>  </mx:TitleWindow>
> </mx:Module>
> 
> 
> but if I do this, and use PopUpManager.addPopUp() to raise this 
> object, it is not draggable.  
> I think to have a draggable popup window, it needs to inherit from 
> TitleWindow.  Yet that approach is the one he disparaged.  So I'm 
not 
> sure how to resolve it.  
> --Henry R.

Reply via email to