Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: Close window (Was:Re: FLASH: site check please and questions) |
From: | naoki mitsuse |
Date: | Fri, 2 Oct 1998 07:40:41 +0100 |
Ricardo Madrazo wrote:
> I've been looking for a way to have a button close a window from within the
> flash movie... I see you implemented that in your "Sex Slave" and
> "Francesca" projects (which, btw, were HILARIOUS)... is that done with
> Javascript, FSCommand, or how?
Hi Ricardo,
Thanks for looking at the site. I am using this neat little javascript that
Colin Mook posted a while back to close windows.
My "close" button has a GET URL action that calls in a page (close.html)
containing the following script:
----------------------------------------
<HTML>
<HEAD>
<TITLE>Close Window Page</TITLE>
<SCRIPT LANGUAGE="JavaScript">
<!--//hide from older browsers
function closewin(){
self.close();
}
//stop hiding-->
</SCRIPT>
</HEAD>
<BODY ONLOAD="closewin()">
</BODY>
</HTML>
------------------------------------------
Once the page loads, it closes the window!
> Arigato
De nada!
naoki
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [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-managershocker [dot] com
Replies
Re: Close window (Was:Re: FLASH: site ch, Marcelo Simon
Re: Close window (Was:Re: FLASH: site ch, Ricardo Madrazo
RE: Close window (Was:Re: FLASH: site ch, Andrew Timberlake
FLASH: a way to open browser from projec, Spike Choo
Replies
Close window (Was:Re: FLASH: site check , Ricardo Madrazo
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]