View Single Post
Nutrox's Avatar Nutrox Nutrox is offline Super Moderator 17 Creative Assets 2005-09-06 #6 Old  
Hi Klin.

Here's a basic HTML page that I normally start off with when I create full screen (100% x 100%) Flash sites. You should be able to edit it easily enough to suit your needs... although it might be worth editing in a text edit and not Dreamweaver. Dreamweaver tends to dump a lot of useless code into web pages, which is one of the reasons why I never use it now.

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html><head>

<title></title>

<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

<meta name="MSSmartTagsPreventParsing" content="true" />

<meta name="description" content="" />
<meta name="keywords"    content="" />
<meta name="author"      content="" />
<meta name="copyright"   content="" />

<style type="text/css">
html, body {
	margin:0px;
	padding:0px;
	overflow:hidden;
	height:100%;
}
object {
	width:100%;
	height:100%;
}
</style>

</head><body>

<object type="application/x-shockwave-flash" data="flashMovie.swf">
<param name="movie" value="flashMovie.swf" />
</object>

</body></html>
The reason that there is no <embed> tag is because the page is XHTML (set via the doctype), and <embed> tags are not really allowed to be used in XHTML pages, but it all works fine without the tag.

If you use CSS files (.css) then you might want to shift the style from the <head> into a .css file just to clean things up a bit... but it's not too important with 100% Flash sites. Just let me know if you need help with that if you decide to do it though.

Hope that's of some help.
Reply With Quote