Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Closing a Window
From: Savio Ponte
Date: Fri, 1 Oct 1999 18:43:53 +0100

I think the best way to do that is link your button to a page close.html
with this code:

<html>
<head>
<title>Closing...</title>
<SCRIPT LANGUAGE="JavaScript">
function closeWindow() {
window.close();
}
</SCRIPT>
</head>
<body onload="closeWindow()">
</body>
</html>

don't use this function directly inside your GetURL action. IE3 users can't
handle this.

S�vio Ponte - Triade-comm
savioatsol [dot] com [dot] br (mailto:savioatsol [dot] com [dot] br)
2B Internet Comics - http://www.2b.com.br
Estat�sticas na web - http://www.qmv.com.br


> I have a link which opens up a new browser window that contains a Flash
> animation. In this Flash animation is a button which opens up another new
> browser window when it's clicked.
>
> My question is: Is there a way to insert some Javascript or something
inside
> the flash file that will force the Flash window to close when the button
is
> clicked?
>
> Thank you,
> -Gregory Reddin



------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratchinwag [dot] com. Problems to: helpatchinwag [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratchinwag [dot] com


Replies
  FLASH: Closing a Window, Gregory Reddin

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]