How to insert Flash (swf) and get validation?

Associate
Joined
11 Aug 2005
Posts
376
Location
UK
I have created a slideshow using Flash which i have saved in .swf format.

When i insert this file into my index file it works and displays ok, however when i use the W3C Validation Service it comes back with errors relating to the code.

Does anyone know why this happens and how i can get round it?

All i'm doing in Dreamweaver is, Insert: Media: Flash: then selecting my .swf file!!
 
Thanks for that psyr33n.

I used the first link and it works in IE6/ 7 & Firefox while getting validation.

Code:
<object
type="application/x-shockwave-flash" data="movie.swf" 
width="400" height="300">
<param name="movie" value="movie.swf" />
</object>

Definitely more streamlined!!

Had a look at the second link as well but looked more indepth especially with Javascript - i'll keep the first method for a while and see how it gets on.
 
Back
Top Bottom