# Closing Window Within Flash MX

**URL:** https://forum.kirupa.com/t/closing-window-within-flash-mx/31293
**Category:** flash
**Created:** [September 20, 2003, 10:09pm UTC](https://forum.kirupa.com/t/closing-window-within-flash-mx/31293 "2003-09-20T22:09:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![REEF](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@REEF](https://forum.kirupa.com/u/REEF)
#### Post date: [September 20, 2003, 10:09pm UTC](https://forum.kirupa.com/t/closing-window-within-flash-mx/31293/1 "2003-09-20T22:09:09Z")

</div>

I just wanna know if it’s possible and how :  
[list]  
[\*]Let’s say I have this Flash movie and I have some code with fscommand with makes the movie fullscreen as soon as you open it. I have a button that pops up the actual site; Should I pop open the swf from my server or the html doc? When I open up the html file from MY DOCUMENTS on my computer, it stays plain html, when I open up the swf, it opens up in fullscreen.

[\*]Anyways, after being in fullscreen mode, how can I make it so that if a button I made in Flash is pressed, it closes the screen. This way people won’t have to press the Esc Button.[/list]

I am trying to find out how to do this because I’m making something for a friend.

```
                 - Thanks.
```
