# Having a Flash movie "stay on top" of other windows

**URL:** <https://forum.kirupa.com/t/having-a-flash-movie-stay-on-top-of-other-windows/56630>\
**Category:** flash\
**Created:** [July 6, 2004, 8:01am UTC](https://forum.kirupa.com/t/having-a-flash-movie-stay-on-top-of-other-windows/56630 "2004-07-06T08:01:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![skramsta](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@skramsta](https://forum.kirupa.com/u/skramsta)\
**Post date:** [July 6, 2004, 8:01am UTC](https://forum.kirupa.com/t/having-a-flash-movie-stay-on-top-of-other-windows/56630/1 "2004-07-06T08:01:52Z")

</div>

[font=Arial]Is there any way to make a published flash-movie stay on top of other windows?  
Alternatively; is it poosible to publish an .exe-file and have that stay on top of all other windows?

-best regards  
[/font]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 6, 2004, 3:38pm UTC](https://forum.kirupa.com/t/having-a-flash-movie-stay-on-top-of-other-windows/56630/2 "2004-07-06T15:38:17Z")

</div>

I assume you’re deploying this flash movie thru an exe file rather than over the web thru a browser (as there is no real way to make sure a browser like IE will stay on top of all other windows). Unfortunatly Macromedia’s projector encoder that comes built right into Flash doesn’t offer very much FSCOMMAND() functionality - as far as modifying the projector window.

To do this, you’re going to have to go 3rd party with a program like SWF Studio (free trial available at [http://www.northcode.com/](http://www.northcode.com/)). SWF Studio can take an swf movie and encode it to an EXE just like Flash. However, you can customize everything including the titlebar, window on top, and a whole sleu of other options. So you’re code would like something like this:

```auto
_root.onload = function(){
        fscommand('window', 'ontop'); // or something like that
}

```

I think there may even be a freeware encoder available, I’m just not sure what it’s called or where to find it 🙂
