Flash Album Generator 2 Support Product Page
This topic was archived
W3C Validation Errors
Reported 24 May 2006 17:31:24
1
has this problem
24 May 2006 17:31:24 Mike Windschitl posted:
I purchased tive Slideshow pro and the Flash Album generator ll. When I validate the code (validator.w3.org/) it comes back with errors for these tags. Why does this happen and can it be corrected? Thanks, Mike
# Error Line 57 column 15: there is no attribute "src".
<embed src="dmxFlashGallery2.swf" id="mattbecky" wmode="transparent" quality
You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).
This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.
How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.
✉
# Error Line 57 column 41: there is no attribute "id".
...<embed src="dmxFlashGallery2.swf" id="mattbecky" wmode="transparent" quality=
✉
# Error Line 57 column 59: there is no attribute "wmode".
...shGallery2.swf" id="mattbecky" wmode="transparent" quality="best" flashvars="
✉
# Error Line 57 column 81: there is no attribute "quality".
...ttbecky" wmode="transparent" quality="best" flashvars="Gallery=../Images/wedd
✉
# Error Line 57 column 98: there is no attribute "flashvars".
...ransparent" quality="best" flashvars="Gallery=../Images/weddings/matt-becky/m
✉
# Error Line 57 column 158: there is no attribute "scale".
...ings/matt-becky/mattbecky.xml" scale="noscale" bgcolor="#" type="application/
✉
# Error Line 57 column 176: there is no attribute "bgcolor".
...ttbecky.xml" scale="noscale" bgcolor="#" type="application/x-shockwave-flash"
✉
# Error Line 57 column 185: there is no attribute "type".
...ml" scale="noscale" bgcolor="#" type="application/x-shockwave-flash" width="7
✉
# Error Line 57 column 223: there is no attribute "width".
...application/x-shockwave-flash" width="750" height="600" pluginspage="w
✉
# Error Line 57 column 236: there is no attribute "height".
...-shockwave-flash" width="750" height="600" pluginspage="www.macromedia
✉
# Error Line 57 column 254: there is no attribute "pluginspage".
...width="750" height="600" pluginspage="www.macromedia.com/go/getflashpl
✉
# Error Line 57 column 301: element "embed" undefined.
...w.macromedia.com/go/getflashplayer" />
You have used the element named above in your document, but the document type you are using does not define an element of that name. This error is often caused by:
* incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Frameset" document type to get the "<frameset>" element),
* by using vendor proprietary extensions such as "<spacer>" or "<marquee>" (this is usually fixed by using CSS to achieve the desired effect instead).
* by using upper-case tags in XHTML (in XHTML attributes and elements must be all lower-case.
Replies
Replied 03 Jul 2007 19:21:32
03 Jul 2007 19:21:32 richard bailo replied:
Hello,
I had the same problem, this is what i did to get it verified
i created a menu.js file with this in it:
// JavaScript Document
function swflove()
{
document.write('<object classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000" codebase="download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="400" height="300">\n');
document.write('<param name="movie" value="menu.swf" />\n');
document.write('<param name="quality" value="high">\n');
document.write('<embed src="menu.swf" quality="high" pluginspage="www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="850" height="350"></embed>\n');
document.write('</object>\n');
}
then in the head i placed the <script src="menu.js" language="JavaScript" type="text/javascript"></script>
in the body i placed <script type="text/javascript">swflove();</script>
it might not be as fast as direct link but it dose validate
hope this helps
I had the same problem, this is what i did to get it verified
i created a menu.js file with this in it:
// JavaScript Document
function swflove()
{
document.write('<object classid="clsid
document.write('<param name="movie" value="menu.swf" />\n');
document.write('<param name="quality" value="high">\n');
document.write('<embed src="menu.swf" quality="high" pluginspage="www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="850" height="350"></embed>\n');
document.write('</object>\n');
}
then in the head i placed the <script src="menu.js" language="JavaScript" type="text/javascript"></script>
in the body i placed <script type="text/javascript">swflove();</script>
it might not be as fast as direct link but it dose validate
hope this helps
Replied 03 Jul 2007 19:26:07
03 Jul 2007 19:26:07 richard bailo replied:
the <embed> tag is needed for brousers other than ie and flash will not display with out it
there is other ways of putting comand lines in the first root frame in action script but you can also add a child command instead of
the <embed> tag that ie ignors telling the brouse to place an image in place of the flash if brouser dose not support,
<embed> tag is ignored by ie and the <object> tag is ignored by netscape ant that a kick in the ass
there is other ways of putting comand lines in the first root frame in action script but you can also add a child command instead of
the <embed> tag that ie ignors telling the brouse to place an image in place of the flash if brouser dose not support,
<embed> tag is ignored by ie and the <object> tag is ignored by netscape ant that a kick in the ass