I had a little project which requirements was an Adobe Flash animation that calls a JavaScript function to close a browser window.
With the newest version of Internet Explorer, it will first ask you whether you want to let the script close your window... that's a problem when you'd like that process to be smooth (i.e. without user interaction.)