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:
<!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
Any help here is really appriciated =).