Hi:
My client and his employees have flash player version 7.0.69
I tried with a new movie with only a button and the button has the code:
on(release){
getURL("javascript:top.window.close();");
}
Then I tried with a new javascript funcion and with fscommand as you suggest
in all these mails, but It doesn't work. I tested in flash player 7.0.19
and 8 and 9 and it works. But the client needs the movie works on 7.0.69
with IE and I couldn't find the issue. I aprecciate if you can help me.
I uplodad the flash player 7.0.69 installer in my server.
http://www.pixelgroup.net/carolina/flashplayer7r69_winax.exe
Thanks a lot
Carolina Avila
----- Original Message -----
From: "Joey Rivera" <[EMAIL PROTECTED]>
To: "'Flashcoders mailing list'" <flashcoders@chattyfig.figleaf.com>
Sent: Friday, June 02, 2006 1:10 PM
Subject: RE: [Flashcoders] browser will not quit!!
Try the following, should close the browser window without a prompt:
AS code:
// call javascript function closeWindow in html page
getURL("javascript:closeWindow()");
and add this script in the head of the html page created when you publish
your file (same file that loads your swf),
JS code:
<script>
function closeWindow()
{
window.open('','_parent','');
window.opener = window;
window.close();
}
</script>
This is what I use and works fine for me.
Joey
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
______________________________
Visita http://www.tutopia.com y comienza a navegar más rápido en Internet.
Tutopia es Internet para todos.
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com