all groups > flash (macromedia) > october 2004 >
You're in the

flash (macromedia)

group:

Validating XHTML at http://validator.w3.org/


Validating XHTML at http://validator.w3.org/ toader
10/2/2004 6:45:12 PM
flash (macromedia):
I've been trying to get my code to validate as XHTML with the W3C validator
(http://validator.w3.org/), but the validator does not like the flash elements-
at least the way they are inserted while using StudioMX (version 6). Has this
been improved in MX2004? If not, are there plans to improve it?

Thanks,
Todd
Re: Validating XHTML at http://validator.w3.org/ Haydo86
2/18/2005 5:05:09 AM
To insert a flash movie, the code needs to be modified to work with XHTML 1.0
Strict. To insert a flash movie, this code validates:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=4,0,2,0" width="100" height="22">
<param name="movie" value="button1.swf" />
<param name="quality" value="high" />
<param name="BGCOLOR" value="" />
</object>

This code was used to insert a flash button in Dreamweaver. Let me know if
this works for you.

Regards,
Haydo

Re: Validating XHTML at http://validator.w3.org/ Jeckyl
2/18/2005 4:07:40 PM
That won't work for Netscape et al .. you need embed tag.

I've yet to see XHTML-compliant code that actually works for all browsers
(Mac/pc, ie/Netscape/firefox/safari/opera) for flash movies.

XHTML compliance is a nice theory .. but not at all worth trying to achieve
in practise if you want you web site to work with most browsers (which one
does in general . .don't want to limit your viewing audience).
--
All the best,
Jeckyl

AddThis Social Bookmark Button