# Close or exit a flash movie

**URL:** https://forum.kirupa.com/t/close-or-exit-a-flash-movie/173164
**Category:** Uncategorized
**Created:** [December 21, 2005, 9:03pm UTC](https://forum.kirupa.com/t/close-or-exit-a-flash-movie/173164 "2005-12-21T21:03:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![RabBell](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rabbell/32/340_2.png) [@RabBell](https://forum.kirupa.com/u/RabBell)
#### Post date: [December 21, 2005, 9:03pm UTC](https://forum.kirupa.com/t/close-or-exit-a-flash-movie/173164/1 "2005-12-21T21:03:53Z")

</div>

bit of a noob question but never actually done this before

I’ve produced a flash movie as an exe that will be put on to a cd. The movie will have a quit option at the end but I’m not sure what the actual actionscript behind the button should be…

I’ve tried

on(release){  
close();  
}

but it didn’t work and I’ve searched round the net but can’t find the actionscript I need.

Anyone know?
