Disable Eclipse warning about generated html?
- by Chadwick
When developing Flex projects, Eclipse gives warnings about the default index.html file generated by Flex Builder. The file is in the 'target' folder (or "generated artifacts" folder. Yes, I'm also using Maven). Can I eliminate or disable this warning?
The code which generates the warning is below, though I would definitely prefer not changing the html - as I say this is the template suggested by Adobe. Eclipse warns of "Undefined attribute name (xxx)" for scroll on the body tag, and most of the embed attributes.
There is no DOCTYPE declaration in the html file.
<html lang="en">
...
<body scroll="no">
...
<embed src="myswf.swf" quality="high" bgcolor="#869ca7"
width="100%" height="100%" name="myswf-flex" align="middle"
play="true"
loop="false"
quality="high"
allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.adobe.com/go/getflashplayer">
</embed>
...