Thanks to all for the replies :)

So here's more details on what i wanted to acheive : A user is running the
application in a browser, can i get notified when he closes the browser
window, or switches to another page?

I was also thinking about the JS solution, but i was wondering if there was
a way to do this only using AS3 ... Paul's reply makes me think i should
have a look at SystemManager more closely :). I'll do my tests and see which
one i choose.

Ciao
Julien


On 2/16/07, Paul DeCoursey <[EMAIL PROTECTED]> wrote:

What is the intent here?  The SystemManager has some events that might
be of interest. deactivate is fired when the flayer loses focus... not
sure if this is fired when the browser closes or when you browse to a
different page, might be worth exploring.  There is also idle, fired
if the user doesn't do anything for a period of time, only 1 second,
but could be useful if you are just wanting to save a state.

I'd play around with deactivate and see when it fires. The javascript
will probably be the best route however.

pd


--- In [email protected], "julien castelain" <[EMAIL PROTECTED]>
wrote:
>
> Hi all,
>
> I was wondering if there was a way to be notified when the user
"leaves" or
> "quits" the application using AS3.
>
> Thanks.
>




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links




Reply via email to