Closing browser windows from flash


since i installed the new flash player (8 or 9) i can’t seem to get the movie/browser actions to work. I’m doing a movie which has a “close window” button that doesn’t work anymore…

the actions in the button were

on (release) {

and it worked ok in MX2004 but it doesn’t work now on flash 8…

I’ve tried to search info about it but all i got were javascrip (code) directly on the page, not on the flash movie, and some info about using the new command “ExternalInterface” to communicate with the browser. But i didn’t find how to do it…

Can anyone help me?

Thanks in advance.