Go Back   Armenian Knowledge Base > Technical sections > Webmaster Zone > Showcase

Reply
 
Thread Tools

Flash validation on XHTML Transitional DTD page
Old 23.07.2007, 11:38   #1
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: 09 2002
Location: Yerevan
Age: 44
Posts: 896
Rep Power: 0
Default Flash validation on XHTML Transitional DTD page

The code to insert flash object is created Dreamweaver:

Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="250" height="250" title="e">
  <param name="movie" value="travelam.swf" />
  <param name="quality" value="high" />
  <embed src="travelam.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="250" height="250"></embed>
</object>
It's not passing validation at http://validator.w3.org/
And all my sites with flash with <embed> element is not approved by W3C. What tag I can use instead of it?

Old 23.07.2007, 14:10   #2
горно-предгорной жизни =)
 
Gor Vardanyan's Avatar
 
Join Date: 02 2005
Location: Multiverse
Age: 42
Posts: 962
Rep Power: 0
Default

Nevnimatelni kakoi
http://www.theitarticles.com/flash-s...standards/164/

ili vot primer v realnom site
http://leplastique.com/
__________________


Follow Me On Twitter

"Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
Albert Einstein

Old 24.07.2007, 03:11   #3
Дошкольник
 
Join Date: 02 2007
Location: Yerevan, Armenia
Posts: 111
Rep Power: 4
Default

To me the best option is to put it in JS file and to call this JS file in XHTML-valid way:
<script type="text/javascript" src="js/filename.js"></script>

This solves the problem and adds no garbage to your XHTML code.

Old 24.07.2007, 04:36   #4
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: 09 2002
Location: Yerevan
Age: 44
Posts: 896
Rep Power: 0
Default

Problema opyat' taki ostaetsyq nasushnoy, t.k. instrument cherez kotory pozvolyaet visualno redaktirovat' content, tak nazyvaemy HTMLArea, vse ravno vozvrashaet code s <embed>
Vsem spasibo!
Reply




Реклама:
реклама
Buy text link .

All times are GMT. The time now is 16:11.
Top

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.