Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Validate XHTML with Flash 1

Status
Not open for further replies.

katherinep

Programmer
Sep 18, 2003
49
AU
Hello,

I am trying to get my website to validate to XHTML standards but errors are coming up in my code where Flash is included. I have read quite a few posts/sites about this now and have been experimenting with different bits of code. I can't seem to find an easy way of getting my pages to validate and also work in both IE in Firefox. Can anyone suggest an easy way of getting my pages to validate and work in both browsers. I don't need to stream my flash but it does need to have a transparent background. Any suggestions?

Thanks in advance,

Katherine
 
Basically you cannot use <embed> tag:
[tt]
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" width="550" height="400">
<param name="movie" value="flash.swf" />
<!--[if !IE]> <-->
<object type="application/x-shockwave-flash" data="flash.swf" width="550" height="400">
<param name="pluginurl" value=" />
</object>
<!--> <![endif]-->
</object>
[/tt]
This is a basic format using just <object> tag: add <param> to suit your needs (do not forget to add <param> to the inner <object> tag too).

There are other techniques and they are listed here: <
Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top