# FMX - fullscreen and load movie displaying at actual size

**URL:** https://forum.kirupa.com/t/fmx-fullscreen-and-load-movie-displaying-at-actual-size/21440
**Category:** flash
**Created:** [May 21, 2003, 4:53pm UTC](https://forum.kirupa.com/t/fmx-fullscreen-and-load-movie-displaying-at-actual-size/21440 "2003-05-21T16:53:08Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![meisje](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@meisje](https://forum.kirupa.com/u/meisje)
#### Post date: [May 21, 2003, 4:53pm UTC](https://forum.kirupa.com/t/fmx-fullscreen-and-load-movie-displaying-at-actual-size/21440/1 "2003-05-21T16:53:08Z")

</div>

hello there,

here is a site:  
[http://www.piip-show.no/PiipShow.htm](http://www.piip-show.no/PiipShow.htm)

when you resize the browser window you’ll notice that the background pattern remains the same size but there’s never a browser-scrollbar, besides that the movie in the center that is loaded stays centered when resizing while keeping it’s window-dimension constant (it’s actually 2 seperate movies forming the center window).

how do i do this ? ?

meisje :toad:

---

<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: [May 21, 2003, 6:16pm UTC](https://forum.kirupa.com/t/fmx-fullscreen-and-load-movie-displaying-at-actual-size/21440/2 "2003-05-21T18:16:18Z")

</div>

Stage.onResize is the event  
Stage.height and Stage.width give the info.

Stage.scaleMode=“noScale”;//no distortion or resizing  
Stage.align = “” will center it, and you can use math to place the lower left logo in the corner like that.

The tricky part, having the background with no scrollbars, could be done with a scripted mask that would make only the part of the background that is in the window visible.  
You would just have to say bgMask.\_width=Stage.width;

---

<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: [May 21, 2003, 6:17pm UTC](https://forum.kirupa.com/t/fmx-fullscreen-and-load-movie-displaying-at-actual-size/21440/3 "2003-05-21T18:17:07Z")

</div>

oh wait, now i noticed its all flash 😛 sorry bout that

---

<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: [May 21, 2003, 6:18pm UTC](https://forum.kirupa.com/t/fmx-fullscreen-and-load-movie-displaying-at-actual-size/21440/4 "2003-05-21T18:18:31Z")

</div>

There’s no background image in the html source.

---

<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: [May 21, 2003, 7:46pm UTC](https://forum.kirupa.com/t/fmx-fullscreen-and-load-movie-displaying-at-actual-size/21440/5 "2003-05-21T19:46:21Z")

</div>

hello clownstaples,

thanks for the reply… i am not a total novice but i’m not quite sure where to put what…

shall i hang:

Stage.onResize ;  
Stage.scaleMode=“noScale”;  
Stage.align = “”;

to the movieclip in which i load the movie  
or had this better be a framescript?

i tried some things out, like hanging it to a movieclip results in everything on the stage not scaling (when publish dimensions is set to 100%)

i tried:  
\_this.onResize ;  
\_this.scaleMode=“noScale”;  
\_this.align = “”;  
as a movieclipscript but that didn’t help…

can you please help me further 🙂

meisje

---

<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: [May 21, 2003, 9:44pm UTC](https://forum.kirupa.com/t/fmx-fullscreen-and-load-movie-displaying-at-actual-size/21440/6 "2003-05-21T21:44:09Z")

</div>

I gave it a try. More complicated than I thought. Heres a (ugly) sample with some of the stuff working.

It doesnt preview right in Flash - you have to view it from the html.

---

<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: [May 21, 2003, 10:16pm UTC](https://forum.kirupa.com/t/fmx-fullscreen-and-load-movie-displaying-at-actual-size/21440/7 "2003-05-21T22:16:46Z")

</div>

hurray it works 🙂 🙂 🙂

it took a while before i noticed what i was constantly missing  
when trying to redo your file  
it was the flash alignment in the publish settings (left and top)

very much thanks clownstaples :flower:

meisje
