Steps for closing a Flash Movie Using Action Script
1) First create your animation, presentation, e.t.c. 2) After that, create a close button.
3 )Add a layer and place the button in that layer.
4)Click on the button and open the Actions panel (F9)
5) Give the following ActionScript to the button
6) Save your file and open the SWF file of your movie.
You will be able to close your movie.
This is very effective when you make your movie fullscreen as the default projector's close button will not be present.