Hi,

 I am not sure how.

 I did

var windFlag;

function showWindow(modal) {
Alert.show(windFlag);
if (popup == null || windFlag == "true")
{
   windFlag = "false"; 
   popup = mx.managers.PopUpManager.createPopUp(_root,
marketingrequest, modal, {deferred: true, windowClosed:windFlag});
}
}
in my marketingrequest I have a method for onclick

function submitData()
 {
    windowClosed="true";
 }


but this does not work.. the windFlag is always "false" so after I
close the first time, I am not able to open the popup again.

Regards
Rajesh J
--- In [email protected], Tarik Ahmed <[EMAIL PROTECTED]> wrote:
> Well... On the click handler you could dispatch an event letting you 
> know when the popup is closed. Otherwise you would assume it's still
open.
> 
> 
> 
> Rajesh Jayabalan wrote:
> 
> >Hi,
> >
> > After a modaless window is opened how do I findout if the window is
> >still open (it has a close button) and the user has not closed it.
> >
> >Rajesh J
> >
> >
> >
> >
> >--
> >Flexcoders Mailing List
> >FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> >Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> >Yahoo! Groups Links
> >
> >
> >
> > 
> >
> >
> >
> >  
> >





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to