title: Detecting when a user leaves a page / browser in Flex
body: <p>I have an HTML wrapper that contains a Flex application, is there an Event that I can listen on, that is triggered when a user leaves the HTML wrapper either by navigation arrows or closing the browser?</p>
  
  <p>Thanks. </p>