# Close window button

**URL:** <https://forum.kirupa.com/t/close-window-button/173705>\
**Category:** Uncategorized\
**Created:** [December 28, 2005, 8:19pm UTC](https://forum.kirupa.com/t/close-window-button/173705 "2005-12-28T20:19:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ultraloveninja](https://avatars.discourse-cdn.com/v4/letter/u/71e660/32.png) [@ultraloveninja](https://forum.kirupa.com/u/ultraloveninja)\
**Post date:** [December 28, 2005, 8:19pm UTC](https://forum.kirupa.com/t/close-window-button/173705/1 "2005-12-28T20:19:54Z")

</div>

hello-  
I have created a windowless swf file that loads up on a webpage and i have a close window button, but when i use the[COLOR=#000084][FONT=monospace]  
[/FONT]getURL/COLOR it closes out the entire window and i don’t need it to do that. i just want it to close out the swf.  
i’ve tried the fscommand(“quit”); but that didn’t seem to work.

any ideas???
