# 100% Width + Height problem

**URL:** <https://forum.kirupa.com/t/100-width-height-problem/185415>\
**Category:** flash\
**Created:** [April 13, 2006, 7:36am UTC](https://forum.kirupa.com/t/100-width-height-problem/185415 "2006-04-13T07:36:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![beforedawn](https://avatars.discourse-cdn.com/v4/letter/b/edb3f5/32.png) [@beforedawn](https://forum.kirupa.com/u/beforedawn)\
**Post date:** [April 13, 2006, 7:36am UTC](https://forum.kirupa.com/t/100-width-height-problem/185415/1 "2006-04-13T07:36:48Z")

</div>

Hi,

Please check out: [http://www.iesf.com/iesf.php](http://www.iesf.com/iesf.php)

On 1024x768 the movie is too big for the screen, but I have set it flash and the html to 100% width and height.

Any ideas would be mosy appreciated.

thanks

ash

---

<div class="post-metadata">

**Author:** ![beforedawn](https://avatars.discourse-cdn.com/v4/letter/b/edb3f5/32.png) [@beforedawn](https://forum.kirupa.com/u/beforedawn)\
**Post date:** [April 13, 2006, 8:01am UTC](https://forum.kirupa.com/t/100-width-height-problem/185415/2 "2006-04-13T08:01:13Z")

</div>

Hi,

forgot to mention the movie is placed using javascript, to prevent the new activate object problems in ie:

```auto
function printMovie(){
	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="100%" height="100%" id="iesf" align="middle">');
	document.write('<param name="movie" value="iesf.swf" />');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<param name="quality" value="best" />');
	document.write('<param name="wmode" value="transparent">');
	document.write('<embed src="iesf.swf" quality="best" width="100%" height="100%" align="middle" allowScriptAccess="sameDomain" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('</object>');
}

```

And I am using

```auto
Stage.scaleMode = "noScale";

```

thanks

ash
