# Make .SWF Fit the Screen

**URL:** <https://forum.kirupa.com/t/make-swf-fit-the-screen/322973>\
**Category:** flash\
**Created:** [June 11, 2011, 8:13am UTC](https://forum.kirupa.com/t/make-swf-fit-the-screen/322973 "2011-06-11T08:13:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daiweien](https://avatars.discourse-cdn.com/v4/letter/d/3d9bf3/32.png) [@daiweien](https://forum.kirupa.com/u/daiweien)\
**Post date:** [June 11, 2011, 8:13am UTC](https://forum.kirupa.com/t/make-swf-fit-the-screen/322973/1 "2011-06-11T08:13:55Z")

</div>

I am using a main .SWF that contains the actions for buttons. Each button opens another .SWF file like so:

```auto
on (release) {
	_root.contents.loadMovie("frontpage.swf");
}

```

My problem is I want to make the .SWF files I load INSIDE my main .SWF fit the screen. The main .SWF with the buttons is already fitted to the screen with HTML:

```auto
<param name="movie" value="main.swf" />
<param name="quality" value="high" />
<PARAM NAME="SCALE" VALUE="exactfit">

```

however this does not apply to the other .SWF’s. So how can I achieve this with the other .SWF files? :facepalm:  
I desperately need this. Thanks!
