See if this makes any difference:

getURL("_javascript_:window.opener=self; window.close();");

 

And I only use IE.  There are likely browser issues.

Tracy

 


From: [email protected] [mailto:[email protected]] On Behalf Of Jeff Steiner
Sent: Wednesday, July 20, 2005 12:31 AM
To: [email protected]
Subject: [flexcoders] Looking for a consistent way to close the current browser window in Flex

 

I am looking to close a window after a Flex app loads in it.  I am using the following function – it seems to close every now and then but not all the time.

 

function closeWindow() {

            getURL('_javascript_:window.close()');  

        }

 

Anyone have a sure fire way of doing this?

 

Thanks,

Jeff

Founder

Flex Authority

http://www.flexauthority.com

 

We are actively seeking contributors for the site.  Have a sample that you want to share with the world?  Send it to us!




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




SPONSORED LINKS
Computer software testing Macromedia flex Development
Software developer


YAHOO! GROUPS LINKS




Reply via email to