javascript - Flash Player notified that browser is closing ++ -


i've implemented flex / js logic prompt user when try navigate away app (e.g. close browser, hit button, etc) described here. works great , i've been super happy results. 1 quick question came how capture "user pressed ok on js popup , in fact leaving page" event inside flex app, in order know when user left page. assume logic similar, unfortunately not speak js , stuck. appreciated.

thank you!

onbeforeunload not designed give additional time page if user chooses "yes, let me leave" - there's nothing information user did close page. can tell flash function ran, , possibly that, depending on how fast user presses 'ok' believe that's it.


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -