navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

W3C Validation with embedded flash

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Microsoft FrontPage Help >> W3C Validation with embedded flash
Page: [1]
 
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)
Giomanach

 

Posts: 6128
Joined: 11/19/2003
From: England
Status: offline

 
RE: W3C Validation with embedded flash - 7/1/2004 8:21:52   
I don't think you can get FLASH objects through the Validator.

They require the depracted tags to work.

Dan

PS Deb - will this be getting moved, it's not a CSS question:)

<edit>Moved</edit>

< Message edited by Giomanach -- 7/4/2004 10:57:10 >


_____________________________




(in reply to kgiles)
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

(in reply to Giomanach)
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: W3C Validation with embedded flash - 7/3/2004 5:38:34   
I think you'll find Dan is correct. The validator is assessing accessibility. Flash isn't accessible ie. text readers can't see it.

For info. FP special tags/bots get rejected too.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to 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

(in reply to jaybee)
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: W3C Validation with embedded flash - 7/3/2004 7:42:35   
Quite true but they don't go a bundle on anything that's not accessible. I'm not sure what they use as the criteria for deprecation, I think it's a mix of browser dependent tags and accessibility. Could be wrong. I'd be intersted to find out. It'd make future proofing a lot easier.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to d a v e)
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

(in reply to jaybee)
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_

(in reply to d a v e)
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

(in reply to kgiles)
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

_____________________________




(in reply to markhawker)
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: W3C Validation with embedded flash - 7/4/2004 7:43:13   
I've never tried it as I don't tend to use flash on websites (although I've been commissioned to do an entire flash site :))

If you include the flash can you get round validation that way?

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to Giomanach)
markhawker

 

Posts: 511
Joined: 5/31/2004
From: UK
Status: offline

 
RE: W3C Validation with embedded flash - 7/4/2004 8:40:53   
The work-around:

http://www.macromedia.com/devnet/mx/dreamweaver/articles/flash_satay.html

"Thing is though, I can't get it to work! So if anybody else can..."

[edit]He shoots, he scores! Need to put an absolute URL in your 'path' variable. You still need another 'dummy' SWF that does not validate to ensure the user has the correct plugin version though...[/edit]

I'm quite pleased with that find :)


< Message edited by markhawker -- 7/4/2004 8:49:37 >


_____________________________

Mark Hawker
personal - http://www.meeid.com/markhawker

(in reply to jaybee)
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

(in reply to markhawker)
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

(in reply to d a v e)
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

(in reply to markhawker)
c1sissy

 

Posts: 5084
Joined: 7/20/2002
From: NJ
Status: offline

 
RE: W3C Validation with embedded flash - 7/4/2004 10:55:42   
Hi, I moved this over to begining web development section, I think thats a better place for this one to be.

Sorry so long to move it, been busy with july 4th things :)

_____________________________

Deb-aka-c4Ksissy
high panjandurum and alpha female of the silverback tribe
As decreed by Jesper 5-24-2003.
The only stupid question is... the one that is never asked!!
http://directory.css-styling.com
http://fmsforum.com
http://positioniseverything.net/
http://www.tanfa.co.uk/

(in reply to kgiles)
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.

(in reply to c1sissy)
jaybee

 

Posts: 14191
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: W3C Validation with embedded flash - 7/5/2004 0:46:55   
NO! Good Lord, I wouldn't even attempt to validate a flash site.

What I meant was SSIs

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to kgiles)
kgiles

 

Posts: 16
Joined: 12/7/2002
Status: offline

 
RE: W3C Validation with embedded flash - 7/5/2004 11:59:25   
quote:

ORIGINAL: jaybee

NO! Good Lord, I wouldn't even attempt to validate a flash site.

What I meant was SSIs

Good:)...Re SSI I would imagine the W3C Validator Views the file as a browser and as such would validate any "include" pages. But even if it didn't you would really have to validate the SSI page as well to not cheat.
I have read somewhere that there is some work going on to allow search engine indexing of flash, so maybe they will try to straighten validation out at the same time.

(in reply to jaybee)
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

(in reply to kgiles)
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

(in reply to BobbyDouglas)
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.

(in reply to kgiles)
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

(in reply to emptydreams)
emptydreams

 

Posts: 6
Joined: 10/26/2004
Status: offline

 
RE: W3C Validation with embedded flash - 10/26/2004 13:36:27   
DAMN! :)

well it was worth a shot, but what if the person also has media objects turned off?

(in reply to d a v e)
shigeru

 

Posts: 1
Joined: 10/27/2004
Status: offline

 
RE: W3C Validation with embedded flash - 10/27/2004 8:57:06   
The flash satay solution give the possibility to display an image as a replacement of the swf :)

(in reply to emptydreams)
Page:   [1]

All Forums >> Web Development >> Microsoft FrontPage Help >> W3C Validation with embedded flash
Page: [1]
Jump to: 1





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