Yeah i think it isn't much of a big deal. I'm sure there are many flash sites i visited that are templates but i've never even spend a thought about it, most flash sites have a lot in common anyway.
Leonardo, here a basic layout:
Code: Select all01 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
02 <html lang="en-US">
03
04 <head>
05 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
06 <meta name="author" content="Samuel Leroy Jackson">
07 <meta name="description" content="This is a website about motherfucking snakes on a motherfucking plane">
08 <meta name="keywords" content="snakes, planes, motherfucking">
09 <title>Snakes on a plane!</title>
10 <style type="text/css">
11 <!--
12 body { color: #fff; background-color: #000 }
13 -->
14 </style>
15 </head>
16
17 <body>
18 <object blablabla flash blablabla>
19 </object>
20 </body>
21 </html>
01: Tell the browser what kind of rules the document follows.
02: Start of HTML Markup. Language is american english. Note that all markup is written in lowercase nowadays.
05: Tell Browser what kind of document to expect and what Character Set to use (e.g. latin or korean)
06: Author, who created the document. "name" identifies what we inform about, "content" is the information.
08: Keywords. Used by search engine bots to index your site and allow people to find it. Usually not case sensitive, so you can type everything lowercase and people searching for LEONARDO and MAXWELL will still find it.
09: The Title. A mandatory element just like the meta-tag in line 05. The other meta-tags are just some useful examples, so you can remove them or add others as you wish.
10-14: CSS values for your body element. This is the perferred method to
<body bgcolor="#000">, though it plays a minor role in a flash-only website. Note that this has nothing to do with the bgcolor attribute in your flash object, which i imagine is prettymuch necessary for the site to look right.
17: Beginning of the main document body.
18+: The lines parsed by the Flash Dev Tools. If the parameters have
\> at the end, remove the
\ as it doesn't apply to HTML.
This site won't
validate once you put the flash part in it. Oddly enough i was able to validate a page with flash as XHTML1.1 which is what i recommend anyone else use for normal websites, but it would probably break old browsers and possibly even the crappy IE6, so going with HTML4 is a safer bet for now if you want to keep low-end customers which are still roaming around all over the web.