Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: 2 questions |
| From: | Colin Moock |
| Date: | Fri, 4 Sep 1998 14:49:15 +0100 |
flasher
>Nick Baron wrote:
>
>> 1. I want to link to a separate movie, which opens in a new window,
>> plays and then I need the window to close, is there a way to close
>the
>> window when the movie has finished playing?
Hi Nick,
You've had two suggestions:
1) You can do all this from the parent window
2) You could try a hidden frame routine. Apply and action keyframe "get
url"
at end of movie that calls upon javascript with "unload window" method.
I think a slightly different version of these suggestions might be
easier. In the last frame of your movie, link to an HTML page that has
an onload handler to close the window...like this:
<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>
Good luck!
Colin
colin_moock
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
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-manager
Replies
FLASH: 2 questions, Nick Baron
Re: FLASH: 2 questions, Nigel Randsley-Pena
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

