Flasher Archive

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


Subject: RE: FLASH: I need a button that can close a browser window
From: Eric Smollin
Date: Mon, 25 Oct 1999 23:02:48 +0100

>I'm trying to create a button in Flash 3 that, when pressed, will close out
the browser >window it's in. I think I have to use an FS Command, but I'm
not sure.


Here's one option:

1.) In Flash, create your button that you want to close the window. Assign
it the following action:

On (Release)
Get URL ("closer.html")
End On

2.) Now create an HTML page called closer.html, add the following code.

<html>
<head>
<title>WindowCloser</title>
</head>

<body onload="self.close()">

</body>
</html>

3.) Make sure you put this closer.html in the same directory as your flash
movie and you should be good to go.

Good Luck
-Eric-


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


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