Flasher Archive

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


Subject: Re: FLASH: Closing a new window within Flash
From: Jason_Schubring
Date: Fri, 24 Mar 2000 20:11:32 GMT



>>Well, the moral of the story is that nothing is working. Does anyone
>>have any suggestions? (I'm on a Mac on Navigator, if that makes a difference)
>>Does anyone have an easy way to close a window with a button within the
>>flash movie?


Hi Sarah,

I see no reason to call a function to pull this off. In the "Get URL," use
this:

javascript:window.self.close ();

Works fine for me but I am not using frames. :-) Thought this may be of some
help. Give it a shot.

Good luck.

J





|--------+----------------------->
| | Sarah Lamont |
| | <slamont@2mtc|
| | .com> |
| | |
| | 03/24/2000 |
| | 01:01 PM |
| | Please |
| | respond to |
| | flasher |
| | |
|--------+----------------------->
>----------------------------------------------------------------------------|
| |
| To: flasheratchinwag [dot] com |
| cc: (bcc: Jason Schubring/AAL) |
| Subject: FLASH: Closing a new window within Flash |
>----------------------------------------------------------------------------|




hey everyone,

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:

<SCRIPT LANGUAGE=JAVASCRIPT>
<!---
function closeWindow() {
self.close()
}
//--->
</script>

Now, that may not be right, maybe that's my problem. Anyways, and in the
button I have :
Get Url("javascript:closeWindow()")

I also tried another way, which was to use the get URl function in the
flash button to call an html file with this code in it:
<BODY ONLOAD="self.close()">
which was supposed to work too.

Well, the moral of the story is that nothing is working. Does anyone
have any suggestions? (I'm on a Mac on Navigator, if that makes a difference)

thanks a lot!

�arah
--
"When I die, I hope it can be said of me that I plucked a thistle and
planted a flower where ever I thought a flower would grow." -Abraham Lincoln

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World
<<< text/plain; charset=us-ascii: Unrecognized >>>

�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, 2Nerotik
  Re: FLASH: Closing a new window within F, Sarah Lamont

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