View Full Version : flash w3org

02-06-2008, 01:12 PM
Not sure if I'm in the correct forum for this, but I give it a try:

When I publish my flash project it produces a html and swf file.
However when I try to validate the html file all kinds of errors pop up (17 in total).. what's wrong with this? How can a html file published by flash contain so many errors?

this is my html code

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<param name="wmode" value="transparent">
<body style="background-image:url('http://www.freefever.com/myspacebackgrounds/backgrounds/jesus.gif')">

<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="550" height="450" id="xmltut3" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="xmltut3.swf" /><param name="quality" value="high" /><param name="wmode" value="transparent" /><param name="bgcolor" value="#e8e8e8" /><embed src="xmltut3.swf" quality="high" wmode="transparent" bgcolor="#e8e8e8" width="550" height="450" name="xmltut3" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />


and this are the errors:

- Unable to Determine Parse Mode!
- No DOCTYPE found! Attempting validation with HTML 4.01 Transitional.
- Namespace Found in non-XML Document
- Line 1, Column 0: no document type declaration; implying "<!DOCTYPE HTML SYSTEM>"


Which lines do I need to add/adjust to get a good validation?


02-06-2008, 01:19 PM
Read this article http://www.alistapart.com/articles/doctype/