Flasher Archive

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


Subject: OT: Re: FLASH: Capturing the Browser Close...
From: Gahlord Dewald
Date: Tue, 14 Nov 2000 23:37:34 GMT

On 11/14/00 at 6:02 PM, Glen Rhodes <grhodesatdceg [dot] com> wrote:

> Does anyone know if there's a way for my Flash 4 movie to detect when the
> user has clicked the close / exit button on the browser window that contains
> it?
>
> I would like to execute a LOGOUT to the server when the user exits, as users
> shouldn't be exiting without logging out in our specific client/server
> setup.
>
> Thanks!

I don't know how to do this with flash. But you could do it with javascript. Any
number of annoying porno sites use this trick to open a new window "on close."
I've never done it myself but if you poke around some javascript sites and say
"on close" enough someone will pipe up on how to do it. Or you could just surf
porno sites until you find one and steal the code. Instead of opening a new
window you want it to pass a variable.

g

Gahlord Dewald
Weeds Media Consortium
Hoops of Fire. Dancing Bears.
Interactive Designers.
http://www.weedsmedia.com

v: 802.658.4267 x 1
f: 800.863.9606
e: gahlordatweedsmedia [dot] com

Weeds Media Consortium
416 Pine Street
Burlington, VT 05401
USA



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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: Capturing the Browser Close..., Glen Rhodes

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