View Full Version : HTML Flash validtion IE
bluewalrus
10-15-2008, 01:15 AM
I know the emded tag is not supported and I'm using the object tag now but it's not functioning in ie. If i use the emded it works in every browser but won't validate. This the code i use for my flash movies:
<object type="application/x-shockwave-flash" data="movie.swf" width="size" height="size" >
<param name="STACountdownWidget" value="movie.swf" /></object>
rangana
10-15-2008, 02:05 AM
<object width="150" height="150" type="application/x-shockwave-flash" data="movie.swf">
<param value="movie.swf" name="movie">
</object>
For further reading:
http://www.alistapart.com/articles/flashsatay
bluewalrus
10-15-2008, 03:31 AM
i read that article it says to add script in the flash. That seems like alot of extra work. The code you put there only has the name field different and the height and width in a different place.Width and height in mine are numbers not the ones i put in. I did change the name to movie with no result.
_root.loadMovie("movie.swf",0);
and <object type="application/x-shockwave-flash"
data="c.swf?path=movie.swf"
width="400" height="300">
<param name="movie"
value="c.swf?path=movie.swf" />
</object>
rangana
10-15-2008, 05:06 AM
I don't know what you mean, but you can see a working example of a page where there is flash and valid and plays on both IE and FF at the dummy page (http://rangana.moonylist.com/kat.htm).
Try to throw the page on the validator (http://validator.w3.org) and you can see that it passes validation.
Hope that helps you.
bluewalrus
10-15-2008, 05:13 AM
OO thanks for that example. It was missing the <param name="wmode" value="transparent" /> . From the first code example. If anyone else is looking for this it looks like this all together:
<object type="application/x-shockwave-flash" data="moviename.swf" width="size" height="size" >
<param name="movie" value="moviename.swf" />
<param name="wmode" value="transparent" />
</object>
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.