# \[F8\] Exiting a .swf

**URL:** <https://forum.kirupa.com/t/f8-exiting-a-swf/234279>\
**Category:** flash\
**Created:** [August 1, 2007, 1:18am UTC](https://forum.kirupa.com/t/f8-exiting-a-swf/234279 "2007-08-01T01:18:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![WalshJ](https://avatars.discourse-cdn.com/v4/letter/w/a87d85/32.png) [@WalshJ](https://forum.kirupa.com/u/WalshJ)\
**Post date:** [August 1, 2007, 1:18am UTC](https://forum.kirupa.com/t/f8-exiting-a-swf/234279/1 "2007-08-01T01:18:22Z")

</div>

I want to be able to exit a .swf without using the x in the top right hand corner or without using any number of keystrokes… it is my understanding that flash 8 also has support for java script, but is that in the specialised java application sheet or can it use java in the standard flash application as well?

i know in Visual Basic code there is a code that will let you exit the application, and that is what i want for this as well…
