dubtastic
06-07-2004, 07:02 AM
i have run into this issue with regards to incorporating flash elements into a page, thus causing that page not to validate via the w3c. here is a simple test:
here is the test page (http://dubtastic.com/temp/flashtest.html)
here are the results (http://validator.w3.org/check?uri=http%3A%2F%2Fdubtastic.com%2Ftemp%2Fflashtest.html)
it seems to be hung up on the attributes used to add the flash element to the page.
anyone aware of if, and how, a page can be validated while containing flash components?
dubtastic
06-07-2004, 07:33 AM
nm, answer is here (http://www.alistapart.com/articles/flashsatay/)
Arch Stanton
06-07-2004, 08:19 AM
I was gonna say that, but you interupted me.
Thats actually a problem I've run into with the my students and the W3 Validator (not necesarily with flash). It lists all those attributes as errors, when the only "Real" error is the last one in the list:
Line 14, column 165: element "EMBED" undefined
...kwave-flash" width="150" height="150"></embed></object>
I've had students work all night trying to get rid of the first error, when it's the last error they should be concerned with.
Koobi
06-07-2004, 12:35 PM
heh heh at the beginning, the W3 validator's error output messages did throw me off a bit but then again it's not so easy making a validator.
I'm just wondering why Gecko browsers haven't implemented the <object> tag into their code, instead, they continue to use <embed> which is not a W3 standard. That's one very rare bad feature of Gecko browsers :)
Arch Stanton
06-07-2004, 01:09 PM
It should support Object if you have a proper doctype declaration to force it into standards mode.
http://devedge.netscape.com/library/manuals/2002/plugin/1.0/intro.html
Koobi
06-07-2004, 01:40 PM
Hmmm that's wierd. My XHTML is always Valid and almost always either XHTML Strict/Transitional 1.0 or XHTML 1.1 but I recall having issues when I exclude the <embed> tag.
(sorry for hijacking your thread Dub)
awasthiashish
07-18-2005, 05:49 PM
Hi
I had similar problem with flash at my website http://www.astragalaxy.com/
I fixed this by removing embed totaly and adding data tag inside object
i.e. data="images/astrag.swf"
You can look for detail at
http://www.alistapart.com/articles/flashsatay/
or at my site
http://www.astragalaxy.com/
where I had commented previous code.
I thought this might help.
Good luck