Flasher Archive

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


Subject: Re: FLASH: Programming button to close Flash movie/window??
From: Muzak
Date: Sun, 14 Jan 2001 20:21:22 GMT

If you're talking about a standalone Flash movie (projector) you can use:

fscommand("quit");

attached to a button or keyframe.
In a browser window, you can use:

getURL ("javascript:window.close();");

again attached to a button or keyframe.
Note that this will work best if the browser window has been invoked with javascript as a popup window. Otherwhise the visitor will
be asked for confirmation before closing the window (at least in IE).

hth,
muzak

----- Original Message -----
From: <JulMowreyataol [dot] com>
To: <flasheratchinwag [dot] com>
Sent: Sunday, January 14, 2001 8:49 PM
Subject: FLASH: Programming button to close Flash movie/window??


> Hi all!
>
> Hi, hope you are having a good weekend. I'm trying to program a button in
> Flash that when pressed upon, it would close out the Flash movie/window. Is
> there a way to do this?
>
> I've looked everywhere under the keywords, "end," "close," "exit," and I
> can't seem to find anything out. Trying to get this thing all done by
> tonight (Sunday).
>
> Any help would be greatly appreciated! Thanks in advance!
>
> Juliet



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
November 27-29, 2000, LONDON, National Film Theatre

Produced by United Digital Artists and lynda.com
-Sponsored by Macromedia, Adobe Systems and Apple Computer
-http://www.flashforward2000.com or UK tel. +44 (0870) 751 1526
Register before November 10 and save �200
http:// www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Programming button to close Flash, JulMowrey

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