Groups | Blog | Home
all groups > flash actionscript > may 2004 >

flash actionscript : Closing Multiple frames in browser through flash


~Flash~
5/20/2004 10:55:13 PM
Well I guess the title says it all.. I have a popup window that has multiple
frames.. index displays header and footer html pages I want to close all three
with a button on footer.. anyone know how i should go about doing this?
nITiNkIlLeRmEeRuT
5/21/2004 1:52:16 AM
place this code on button on flash

on(release)
{
getURL("javascript:closeWin()");
}


put this code in the html file

<script language="javascript">
function closeWin()
{
parent.window.close();
}
</script>

AddThis Social Bookmark Button