|
Define better. To me, I'd use the
_javascript_ Flash Integration Kit that MM put out, and call
proxy.call("closeWindow");. Integrates nicer into code than getURL, works
on more browsers, and you can get a callback if need be.
----- Original Message -----
From: Jeff
Steiner
Sent: Thursday, July 21, 2005 11:49 AM
Subject: RE: [flexcoders] Looking for a consistent way to close the
current browser window in Flex Is there a better way
of doing this? Jeff From:
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 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 YAHOO! GROUPS LINKS
|

