Forum Moderators: open
I have a flash component in my webpage
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://active.macromedia.com/flash4/cabs/swflash.cab#version=4,0,0,0"
id="map" width="449" height="333"> <param name="movie" value="url/images/map.swf"><param name="quality" value="high"><param name="bgcolor" value="#FAEEA9">
<embed name="map" src="url/images/map.swf" quality="high" bgcolor="#FAEEA9" width="449" height="333" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object>
Now, where I remove the <embed></embed>, the script is valid HTML 4.0 Transitional - BUT Flash does not appear on Netscape and Mozilla!
When I leave the <embed></embed>, here is the message from W3C:
Line xx, column ****: there is no attribute "SRC"
..."bgcolor" value="#FAEEA9"><embed src="url/images/..
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.
Any help?
[macromedia.com...]
I think you'll find the answer right there. And who better to give the answer for a Flash issue than Macromedia.
one thing you can say about Flash, it's pretty reliable in its display on any platform that supports the Flash player. you name it...kiosks, handhelds, interactive television screens, high-def TV, even a bevy of cell phone screens. It displays the same in every situation, albeit if sometimes requiring the hubble telescope to read the text in flash movies on a 1.5 inch cell phone screen!
transitional DTDs were intended for legacy browsers developed before w3c standards were implemented, NOT for browsers who refuse to play by the rules!
just my 2.5 cents worth!
;)
kr