|
| |
|
|
kgiles
Posts: 16 Joined: 12/7/2002 Status: offline
|
W3C Validation with embedded flash - 7/1/2004 8:16:11
Does anyone know if there is a way of getting embedded flash through the W3C Validator? All of the commands used by the Flash SWF get rejected in the Validator (e.g. there is no attribute "TYPE" <embed type="application/x-shockwave-flash)
|
|
|
|
markhawker
Posts: 511 Joined: 5/31/2004 From: UK Status: offline
|
RE: W3C Validation with embedded flash - 7/1/2004 14:52:48
True, wrong section but never mind. With regards to the validator and Flash, I had no luck with that either. Not sure, have you tried on the Macromedia site? I'm sure I did but you might be able to spot something I didn't. Keep me informed! Mark
_____________________________
Mark Hawker personal - http://www.meeid.com/markhawker
|
|
|
|
d a v e
Posts: 4167 Joined: 7/24/2002 From: England (but live in Finland now) Status: online
|
RE: W3C Validation with embedded flash - 7/3/2004 6:38:55
jaybee - i don't think it's the spiderability/accessibility of the flash movies itself more the deprecated tags as dan pointed out. probably.
_____________________________
David Prescott Gekko web design
|
|
|
|
d a v e
Posts: 4167 Joined: 7/24/2002 From: England (but live in Finland now) Status: online
|
RE: W3C Validation with embedded flash - 7/3/2004 8:10:34
this is what they called deprecated http://www.w3.org/TR/html401/conform.html#deprecated i guess the more accessible the site is the more likely it is to be valid
_____________________________
David Prescott Gekko web design
|
|
|
|
kgiles
Posts: 16 Joined: 12/7/2002 Status: offline
|
RE: W3C Validation with embedded flash - 7/3/2004 9:31:06
Interesting discussion The embeded flash uses a series of "Tags" between <object> and </object they are all unrecognised see results below. I guess I was hoping there was some way of encapsulating so the the validator would ignore and idealy allowing a "alt" type tag to decribe the contents as you would in <img> which is also not accessible. Line 40, column 14: there is no attribute "NAME" <embed name="message_construct" src="message_construct.swf" quality="high" bgc Line 40, column 38: there is no attribute "SRC" <embed name="message_construct" src="message_construct.swf" quality="high" bgc Line 40, column 70: there is no attribute "QUALITY" ...construct" src="message_construct.swf" quality="high" bgcolor="#FFFFFF" Line 40, column 85: there is no attribute "BGCOLOR" ...onstruct.swf" quality="high" bgcolor="#FFFFFF" Line 41, column 10: there is no attribute "WIDTH width="750" height="375" Line 41, column 23: there is no attribute "HEIGHT width="750" height="375" Line 42, column 9: there is no attribute "TYPE" type="application/x-shockwave-flash" Line 43, column 16: there is no attribute "PLUGINSPAGE" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_
|
|
|
|
markhawker
Posts: 511 Joined: 5/31/2004 From: UK Status: offline
|
RE: W3C Validation with embedded flash - 7/3/2004 10:39:43
I'm sure there's no way round this, I combined all of the tags and added them to the EMBED or OBJECT tag (can't remember which) and this sorted the problem, passed the validation and thought I was onto a winner, until I viewed the page in FireFox and there was no Flash image. Sorry, I guess some things just weren't meant to be...
_____________________________
Mark Hawker personal - http://www.meeid.com/markhawker
|
|
|
|
Giomanach
Posts: 6128 Joined: 11/19/2003 From: England Status: offline
|
RE: W3C Validation with embedded flash - 7/3/2004 18:03:12
Dave, JB You are both right. The W3C validator tends to looks towards sites being accesible by all, and FLASH uses deprecated tags to function. The only thing that isn't human that can read FLASH is the SE spiders, new ones have been developed for OCR etc. kgiles - As Mark says, something where never meant to be. Maybe when they revise the standards it will become valid Dan
_____________________________
|
|
|
|
d a v e
Posts: 4167 Joined: 7/24/2002 From: England (but live in Finland now) Status: online
|
RE: W3C Validation with embedded flash - 7/4/2004 8:50:58
maybe just easier to live with the deprecated tags...
_____________________________
David Prescott Gekko web design
|
|
|
|
markhawker
Posts: 511 Joined: 5/31/2004 From: UK Status: offline
|
RE: W3C Validation with embedded flash - 7/4/2004 8:56:45
Especially if you work offline first to test everything, then you'd have to change your variables before you upload. It does validate though, it's not actually too difficult a task, you only need one container movie, the rest is just changing path variables. Guess it's personal preference, depends how many occurences of Flash elements you have! If you visit the author's site (bottom of the guide) there is a pre-made container movie and a few other notes from him. Worth a read as that's where I found out about absolute URLs. Mark
< Message edited by markhawker -- 7/4/2004 8:57:16 >
_____________________________
Mark Hawker personal - http://www.meeid.com/markhawker
|
|
|
|
dpf
Posts: 7126 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: W3C Validation with embedded flash - 7/4/2004 10:38:25
excellent article, mark
_____________________________
Dan
|
|
|
|
kgiles
Posts: 16 Joined: 12/7/2002 Status: offline
|
RE: W3C Validation with embedded flash - 7/4/2004 12:56:25
Thanks Mark nice article ...it looks like a reasonable solution if you really want to validate. Jaybe "If you include the flash can you get round validation that way?".. Not sure what your asking both embedded flash and a Flash site would have the same problem. But there presumably wouldn't be a need to validate a flash site.
|
|
|
|
BobbyDouglas
Posts: 5470 Joined: 5/15/2003 From: Arizona Status: offline
|
RE: W3C Validation with embedded flash - 7/5/2004 13:49:14
There is another site out there that explains how to get your flash pages to validate, I think it just uses a lot of messy javascript. If anyone needs the URL I will try to find it...
_____________________________
Arizona Web Design - Mr Bobs Web Design in Arizona The Arizona Web Hosting Challenge
|
|
|
|
d a v e
Posts: 4167 Joined: 7/24/2002 From: England (but live in Finland now) Status: online
|
RE: W3C Validation with embedded flash - 7/5/2004 13:53:52
if it's not the devloper's fault that it doesn't validate because of the way browsers work with flash then i personally can't be bothered worrying about the few validation errors that occur: i'm not going to resort to hacks to get it to 'work'.
_____________________________
David Prescott Gekko web design
|
|
|
|
emptydreams
Posts: 6 Joined: 10/26/2004 Status: offline
|
RE: W3C Validation with embedded flash - 10/26/2004 13:09:02
Found another option for W3C validateable use of Flash. external js page saved as swfloader.js with the following information: function swflove() { document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://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="flashdoc.swf" />\n'); document.write('<param name="quality" value="high">\n'); document.write('<embed src="flashdoc.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="400" height="300"></embed>\n'); document.write('</object>\n'); } in the head section of your html: <script src="swfloader.js" language="JavaScript" type="text/javascript"></script> in the body section where you want the flash to appear: <script type="text/javascript">swflove();</script> hope it helps, i used the other way as an object but i wanted to find another way to make it work. I believe the other is faster overall but this is just another way to make it function.
|
|
|
|
d a v e
Posts: 4167 Joined: 7/24/2002 From: England (but live in Finland now) Status: online
|
RE: W3C Validation with embedded flash - 10/26/2004 13:27:06
that's clever but fruitless if the user has javascript turned off ;)
_____________________________
David Prescott Gekko web design
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|