w3c validation of FLASH

  • matt@aylist
  • Student
  • Student
  • User avatar
  • Posts: 77
  • Loc: The Happy Place | UK

Post 3+ Months Ago

I'm trying to validate my website however the only errors letting it down come from this small bit of flash on the page.

Here's my code

Code: [ Select ]
<object>
                                <param name="movie" value="selective1.swf" />
                                <embed src="selective1.swf" width="500" height="150">
                                </embed></object>
  1. <object>
  2.                                 <param name="movie" value="selective1.swf" />
  3.                                 <embed src="selective1.swf" width="500" height="150">
  4.                                 </embed></object>


here's the validation errors Im getting!

Quote:
Error Line 48, Column 19: there is no attribute "src".

<embed src="selective1.swf" width="500" height="150">

Line 48, Column 42: there is no attribute "width".

<embed src="selective1.swf" width="500" height="150">

Line 48, Column 55: there is no attribute "height".

<embed src="selective1.swf" width="500" height="150">

Line 48, Column 60: element "embed" undefined.

<embed src="selective1.swf" width="500" height="150">


I know nothing about flash and it took me a day just to come up with this small bit of text.
Can anyone tell me how to validate this bit of code?


Many thanks in advance.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1828
  • Loc: In the Great White North

Post 3+ Months Ago

object embed is not actually semantically valid code even though thats typically the way Flash builds the page container page for people to use.

I would recommend using a javascript placement solution. There are many, but heres the one I use. SwfObject
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13502
  • Loc: Florida

Post 3+ Months Ago

I second the Javascript placement.
It takes care of the "Click to activate" issue as well.
  • matt@aylist
  • Student
  • Student
  • User avatar
  • Posts: 77
  • Loc: The Happy Place | UK

Post 3+ Months Ago

Fantastic cheers guys I'll deal with that right away. :)

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 11 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.