Flasher Archive

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


Subject: RE: FLASH: Closing a new window within Flash
From: Eric Smollin
Date: Fri, 24 Mar 2000 19:25:50 GMT

>I need some help with this...
>I looked at some flash tutorial sites (mostly Colin Mook's) to find
>answers, but it seems I can't get any of the suggestions to work for me.
>Does anyone have an easy way to close a window with a button within the
>flash movie?
>The way I was doing it was putting this javascript into the html that
>held the swf:


Create a NEW html page and title it closer.html. In this page include the
following code in the body tag:

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

Save it. Put this HTML file in the same directory as your Flash files.

In your Flash movie, give the close button the following actions:

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


HTH
-Eric-

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: Closing a new window within F, Sarah Lamont

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