Forum Moderators: open

Message Too Old, No Replies

solution: validate transparent flash using satay method

how to get transparent flash movies to validate to w3c

         

johnnyrobot

5:33 pm on Jul 7, 2005 (gmt 0)



i thought i'd post this, as i found this site when searching for the satay method (google it for a url), which describes how to embed flash movies into a page and get the page to validate according to w3c standards.

i found this forum [webmasterworld.com], where someone was asking how to use the satay method to embed a transparent movie.

the satay method essentially strips down the bulk of object and embed tags from automatically-generated flash html code to something that looks like this:

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

i initially tried adding 'wmode=transparent' to the opening object tag, but xhtml v1.0 transitional would not accept 'wmode' as a valid value, so instead i tried adding:

<param name="wmode" value="transparent" />

and bingo! it works. i've tested it in both ie 6 and firefox 1.0.3 with no problems, and the document now validates completely.

hope this was of some help.

lawrie

<Sorry, no personal URLs.
See Terms of Service [webmasterworld.com]>

[edited by: tedster at 12:37 am (utc) on July 8, 2005]

BlobFisk

8:31 am on Jul 25, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WebmasterWorld, johnnyrobot!

Excellent first post - thanks a million!