# Haw do you make 1 movie 100%\*100%

**URL:** <https://forum.kirupa.com/t/haw-do-you-make-1-movie-100-100/58719>\
**Category:** flash\
**Created:** [July 25, 2004, 4:15pm UTC](https://forum.kirupa.com/t/haw-do-you-make-1-movie-100-100/58719 "2004-07-25T16:15:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nessie](https://avatars.discourse-cdn.com/v4/letter/n/e274bd/32.png) [@nessie](https://forum.kirupa.com/u/nessie)\
**Post date:** [July 25, 2004, 4:15pm UTC](https://forum.kirupa.com/t/haw-do-you-make-1-movie-100-100/58719/1 "2004-07-25T16:15:39Z")

</div>

:te:  
Haw do you make 1 movie 100%\*100% and the other movie to not resize on top of the 100%\*100% movie.Like this

> **[Buy Domains - albaspina.com is for sale!](https://www.buydomains.com/lander/albaspina.com?domain=albaspina.com&utm_source=albaspina.com&utm_medium=click&utm_campaign=TDFS-OO-BDLander_Invisible&traffic_id=TDFS-OO-BDLander_Invisible&traffic_type=tdfs&redirect=ono-redirect)**
>
> Buy a domain and see how a premium domain can be the best investment. Your business starts here. Buy a domain today.

pleac help me!

:q:

---

<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 25, 2004, 5:10pm UTC](https://forum.kirupa.com/t/haw-do-you-make-1-movie-100-100/58719/2 "2004-07-25T17:10:19Z")

</div>

i didnt really understand but to set movie clip size in precent use \_xscale and \_yscale, if you want a movie to be 100% of the browser window - then i dont know, something with javascript - screen.width, screen.height (if i remebmer correctly)

---

<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 26, 2004, 1:18am UTC](https://forum.kirupa.com/t/haw-do-you-make-1-movie-100-100/58719/3 "2004-07-26T01:18:45Z")

</div>

Here’s what you do to achieve the same effect:

On the first frame of your movie:

```auto
fscommand("allowscale", false);

```

And then for the movieclip that contains the image:

```auto
imageMC.onEnterFrame = function() {
this._width = Stage.width;
this._height = Stage.height;
}

```

Then just set page margins/borders/and padding all to zero in the HTML.

The only real problem with having images on the stage in this way is that when someone resizes the browser, the image scale is lost (distorting the image).

---

<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 26, 2004, 10:42am UTC](https://forum.kirupa.com/t/haw-do-you-make-1-movie-100-100/58719/4 "2004-07-26T10:42:56Z")

</div>

Thank you for your answer but i dident get it to work! Maby you misunderstud me i wona make one swf the (image) that load a second swf that contains (the meny) The swf whith the image is easy to do 100%\*100% and let it be scaled when browser window is resized. But to make the second swf unable to scale on level 2 thats what i´m wonering how to do.

Thanks!

:ear: /M
