Welcome to WebmasterWorld Guest from 188.8.131.52 , register , free tools , login , search , pro membership , help , library , announcements , recent posts , open posts Become a Pro Member
validating flash stef25 msg:1564458 10:05 am on Aug 2, 2004 (gmt 0) when trying to validate an html with a flash movie i get plenty of errors like: is no attribute "SRC", there is no attribute "WMODE", there is no attribute "WIDTH"
code + w3 explanation below. im not (necessarily) asking to fix my code, just wondering what the deal is with validating flash
<!-- start gallery -->
<div id="gallery"> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="100%" height="100%" id="viewer" align="middle"> <param name="movie" value="viewer.swf" /> <param name="quality" value="high" /> <param name="scale" value="noscale" /> <param name="wmode" value="transparent"/> <embed src="viewer.swf" wmode="transparent" width="100%" height="100%" align="middle" quality="high" scale="noscale" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"/> </object> </div> <!-- end gallery -->
explanation by W3 is: "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)"
Mobull msg:1564459 10:34 am on Aug 2, 2004 (gmt 0)
I know for sue that the <embed> tag you use plus everything that it contains (wmode e.g.) is not w3 compliant and therefore generates errors.
Please read about the "Satay method" to see what you can use instead:
Go to google and search for "satay method". The first link you'll get is the one you need to click. Check out their solution
Harry msg:1564460 10:40 am on Aug 3, 2004 (gmt 0)
I wouldn't worry too much about the garbage html code Flash generates. Much of it can be deleted safely without affecting the movie within the HTML page. stef25 msg:1564461 12:40 pm on Aug 3, 2004 (gmt 0)
ive read the satay method and most of the code can indeed be stripped. however, to make it validate 100% i need to alter the flash code which im not able to do, its a free image viewing tool and the maker has prevented people from opening it. perhaps ill point him to this thread and the satay method