Possible Duplicate:
AS3.0 Replay the whole movie (*SWF file)
I made a small game in Actionscript 3.0 and flash.
When the player wins the game or is 'game over' my player should have 2 options. Besides replay i want the player to be able to quit the game from wihin the game. So there a way to close/quit/kill the flash player with actionscript ?