Flasher Archive

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


Subject: RE: [flasher] Close window
From: Mats Persson
Date: Sat, 20 Jan 2001 10:38:03 -0000



Dirk,

To close a window from inside Flash you just enter the following in the
button.

on (release) {
getURL ("JavaScript:window.close();");
}

In other words, use the getURL action and enter

JavaScript:window.close();

in the URL field. Leave all other fields empty.

Hope that helps,

Mats



-----Original Message-----
From: Dirk Seddon [dsatimagetechdev [dot] com (mailto:dsatimagetechdev [dot] com)]
Sent: 19 January 2001 14:41
To: flasher from chinwag
Subject: [flasher] Close window


No doubt this has been asked a million times, and I apologise for my
newbieness. I've worked out how to open a pop up window with a swf inside
it. How do I get a button in the movie that allows you to close the pop-up
window. I've seen it done loads of times, so can't be hard. Do I
need to use FSCommand?

Cheers

Dirk Seddon



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The Chinwag site carries a wealth of Flash resources.
Find useful links, suggested reading and archives at:

** http://www.chinwag.com/flasher **
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You are subscribed to flasher as: matsatimediatec [dot] co [dot] uk
To unsubscribe, email leave-flasher-479293Yatlists [dot] chinwag [dot] com




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