# Html - cant get flash to fill out the whole page

**URL:** <https://forum.kirupa.com/t/html-cant-get-flash-to-fill-out-the-whole-page/213743>\
**Category:** Uncategorized\
**Created:** [January 22, 2007, 10:54pm UTC](https://forum.kirupa.com/t/html-cant-get-flash-to-fill-out-the-whole-page/213743 "2007-01-22T22:54:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ohls](https://avatars.discourse-cdn.com/v4/letter/o/59ef9b/32.png) [@Ohls](https://forum.kirupa.com/u/Ohls)\
**Post date:** [January 22, 2007, 10:54pm UTC](https://forum.kirupa.com/t/html-cant-get-flash-to-fill-out-the-whole-page/213743/1 "2007-01-22T22:54:15Z")

</div>

I’m trying to make a site that will fill up the whole page. Like the current “site of the day” site.

It doesn’t work though. I’m completely clueless at HTML so this is probably really simple. Heres the code:

```auto

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Mälardalens Samtalstjänst</title>
</head>

<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100%" height="100%" title="working" align="middle">
  <param name="movie" value="working.swf" />
  <param name="quality" value="high" />
  <embed src="working.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" </embed>
</object>
</body>
</html>

```

And heres the AS I put on the flash file. If that does any difference(I think it should stretch out regardless?)

[AS]Stage.scaleMode = “noScale”;  
Stage.align = “TL”;  
var siteloc = 30  
//location initial  
\_root.site.\_x = siteloc;  
\_root.site.\_y = siteloc;  
//location change  
stageListener = new Object();  
stageListener.onResize = function() {  
Stage.align = “TL”;  
\_root.site.\_x = siteloc;  
\_root.site.\_y = siteloc;  
};  
Stage.addListener(stageListener);[/AS]

And finally, a link at the results:

[http://hundsteg.se/Erik/working.html](http://hundsteg.se/Erik/working.html)

Any help here is really appriciated =).
