Flasher Archive

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


Subject: FLASH: Closing a new window within Flash
From: Sarah Lamont
Date: Fri, 24 Mar 2000 19:14:17 GMT

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�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


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