Welcome to WebmasterWorld Guest from 23.22.140.143

Forum Moderators: open

Message Too Old, No Replies

Validating flash

     
11:27 am on Jun 17, 2004 (gmt 0)

New User

10+ Year Member

joined:Apr 26, 2004
posts:38
votes: 0


I've read the article that Tedster pointed someone to a year ago here [webmasterworld.com] about getting flash to validate. Now this is the alternative for larger movies-

<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" />
<img src="noflash.gif"
width="200" height="100" alt="" />
</object>

I'm only loading flash buttons and so don't need the container movie. So does that mean that I can change my code to -

<object type="application/x-shockwave-flash
width="400" height="300">
<param name="movie"
value="movie.swf" />
<img src="noflash.gif"
width="200" height="100" alt="" />
</object>

1:34 pm on June 17, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 15, 2002
posts:6807
votes: 0


It sure does! The only reason the container movie is required is to make IE start displaying the movie before it has loaded. But, if you're only using small files, then the display will be instantaneous anyway.

You still need the

data
in the object tag though:

<object type="application/x-shockwave-flash
width="400" height="300" data="movie.swf">
<param name="movie"
value="movie.swf" />
<img src="noflash.gif"
width="200" height="100" alt="" />
</object>

2:43 pm on June 17, 2004 (gmt 0)

New User

10+ Year Member

joined:Apr 26, 2004
posts:38
votes: 0


Cheers for that Dr Doc, sometimes I just don't trust myself to get things right.