Yes, that would be the best way to go.
Even with my application, I need the same functionality.
When Flex provides a BrowserManager interface which provides URL change events of a browser, why can't it provide the browser close event?
Is there a way we can request Flex enhancements?
We opted not to put in a bunch of convenience functions as they are hard to maintain. But feel free to file an enhancement request.
Flex SDK Developer
Adobe Systems Inc.
Thanks for the reply.