How Do I Exit / Unload?

I’m trying to use a button and on release would like to exit from the game that i have created. This would mean closing down the .swf file.

Can this be done ?