Flasher Archive

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


Subject: RE: FLASH: Closing a Window
From: Eric Smollin
Date: Tue, 2 Mar 1999 22:58:58 GMT

Russell Unger wrote:

>I've got my "pop-up" window all in place...then my little swf plays, and at
>the end, an object morphs into a button "click me" (or whatever).
>Upon clicking said button, I would like for the current window to close and
>then to redirect the bottom window to a different page.


Russell, to close the current window, create an html page with the following
code

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

Save the html document and call it Close.html. Put the document in the same
directory as your .swf file. Next, assign the button that fades in an action
of:

On (Release)
Get URL (URL: Close.html Window: _self)
End On

Now, when that button is clicked, the window will close.

Hope that helps.


-----Original Message-----
From: Unger, Russell [rungeratmbtinc [dot] com (mailto:rungeratmbtinc [dot] com)]
Sent: Tuesday, March 02, 1999 4:41 PM
To: 'flasheratshocker [dot] com'
Subject: FLASH: Closing a Window

------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [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-manageratshocker [dot] com


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