# Close swf using actionscript

**URL:** https://forum.kirupa.com/t/close-swf-using-actionscript/296167
**Category:** flash
**Created:** [September 10, 2009, 11:15am UTC](https://forum.kirupa.com/t/close-swf-using-actionscript/296167 "2009-09-10T11:15:14Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![skeerthana](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@skeerthana](https://forum.kirupa.com/u/skeerthana)
#### Post date: [September 10, 2009, 11:15am UTC](https://forum.kirupa.com/t/close-swf-using-actionscript/296167/1 "2009-09-10T11:15:14Z")

</div>

Hello people

Im wondering why the following script isnt working fine for me o close a swf(flash file).

on(release) {  
fscommand(“quit”, true);  
}

Kindly help me asap. Im having high time struggling.

Tnkz n advance!!!

Cheers

skeerthana
